Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ref app in master branch is not building on Mac OSX Mojave #34

Closed
ljreder opened this issue Apr 22, 2019 · 2 comments
Closed

Ref app in master branch is not building on Mac OSX Mojave #34

ljreder opened this issue Apr 22, 2019 · 2 comments

Comments

@ljreder
Copy link
Collaborator

ljreder commented Apr 22, 2019

I attempted to clone the master branch and build on my new MAC running Mojave. It looks like the Mac is missing an ssl library. When making the Ref app I get this at the end:

Linking binary...
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [/Users/reder/Documents/Workspace/FP2/fprime/Ref/darwin-darwin-x86-debug-llvm-bin/Ref] Error 1
5.72 real 11.34 user 6.30 sys
make: *** [DARWIN] Error 2

Also it appears the Make system is not setting the PYTHONPATH for the autocoder.

@rdaruwala
Copy link
Contributor

@ljreder I was able to fix the SSL issue when building on my MacBook by running the following commands:

xcode-select --install
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/

@ljreder
Copy link
Collaborator Author

ljreder commented Apr 23, 2019

Thanks Rohan, but actually I did not have the path to openssl you specify.
However I was able to install the libraries using MAC ports and it seems to work now.
I simply did this

xcode-select --install
sudo port install openssl
setenv LIBRARY_PATH /opt/local/lib

I think the xcode step just updates versions.

Recommend this issue closed. Also would be useful to update cmake to handle this.

@ljreder ljreder closed this as completed Apr 23, 2019
r9-pena added a commit to r9-pena/fprime that referenced this issue Jul 23, 2021
LeStarch pushed a commit that referenced this issue Aug 4, 2021
* Create tutorial-support.yml

* Update tutorial-support.yml

GpsApp tutorial to be pulled for build test and submodules to be pulled recursively

* Implementation of tutorial workflow

* typo in repo address

* Added missing github action file

* Changed workflow path

* Changed dir paths

* Work around for workflow

* work around

* troubleshooting

* troubleshoot

* troubleshoot

* Performance update

* Path correction

* troubleshoot

* Dockerfile correction

* path change

* path change

* path fix

* path fix

* path fix

* path fix

* paht fix

* Revert to changes

* Completed workflow for tutorial support

* troubleshoot

* Build path error

* Optimization of workflow

* Path fix

* Path fix

* Path fix #1

* path fix #2

* path check

* Workflow test

* Workflow test #2

* Added logging feature

* Logs Troubleshoot

* Typo fix

* Troubleshoot #1

* Troubleshoot #2

* Corrected typo on path

* Troubleshoot #3

* Troubleshoot #4

* Troubleshoot #5

* Removed log archive feature

* Changed repo path to conform pull request merge

* Test run #1

* test #2

* test #3

* added branch for workflow test

* test #4

* test #4

* test #5

* test #6

* Test #7

* test #8

* test #8

* Test #9

* Test #9

* Test #10

* Test #11

* Test #12

* Test #13

* Test #14

* Test #15

* Test #16

* Test #17

* Test #18

* Test #20

* Test #21

* Test #22

* Test #23

* Test #24

* Test #25

* Split test files

* Split tests #2

* Added executable permissions

* Delete RPI.bash

* Delete Ref.bash

* Delete Framework.bash

* exe files

* Make Framework.bash executable

* Make RPI.bash and Ref.bash executable

* Test #26

* Test #27

* Test #28

* Attached Integration test to Ref test

* Test #29

* Test #30

* Test #31

* Test #32

* Test #33

* Test #34

* Test #35

* Test #35

* Test #37

* Test #38

* Test #39

* Test #40

* Test #41

* Test #42

* Test #43

* Test #43

* Test #44

* Test #45

* Cleaned up files to remove commented code

* Remove CI test branch from workflow

* Incorporated comments for PR

* Modified path for framework job test

* Incoporate reviewer comment for PR

* Incoporated reviewer comment for PR

* Was using incorrect directory for the test

* Revised args call for jobs

* Passing args #1

* Define entrypoint directly from workflow

* Changed entrypoint method

* Changed entrypoint method #2

* Corrected test path

* Syntax correction

* Path Test #1

* Path test #2

* Path Test #4

* Path Test $5

* Test Path #6

* Path Test #6

* Path Test #7

* Path Test #8

* Refactored scripts to remove master.bash

* Corrected test path

* Fixed log problems

* Entrypoint alternative

* Bypassed master.bash file

* Added line for better CI error messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants