simlink not working
I have a user: mim that has within it a folder /mimmim and within that, a folder called
/Src. user: mim has root privileges. There is an Install file in /home/mim/ that uses a file in /Src called pgp.h. pgp.h references a file /openssl/opensslv.h. The opensslv.h is actually in the newer openssl installations here: /usr/local/ssl/include/openssl/ I tried to do a 'sudo ln -s /usr/local/ssl/include/openssl openssl' from /home/mim/, as well as from within the /home/mim/mimmim/ and from within /home/mim/mimmim/Src/. I still get this error however: pgp.h:16:30: fatal error: openssl/opensslv.h: No such file or directory compilation terminated. I guess I am not sim linking correctly. |
I would rather put a -I/usr/local/ssl/include somewhere into the makefile
|
Quote:
What I found and tried later was that there are two types of references to openssl in the .h and .c code modules. There were references to openssl and to /openssl. So I tried this that seemed to fix the problem: sudo ln -s /usr/local/ssl/include/openssl openssl sudo ln -s /usr/local/ssl/include/openssl /openssl |
probably yes, but not the right way to solve this issue. /openssl should not exist.
|
Some of the code I was having trouble with:
# include <openssl/stack.h> # include </openssl/safestack.h> If I did just a 'sudo ln -s /usr/local/ssl/include/openssl openssl', it wouldn't cover the /openssl. Doing this 'sudo ln -s /usr/local/ssl/include/openssl /openssl' fixed the problem. I don't know anything about the language the includes are a part of. Thanks. |
removing / before openssl would be a better solution, that is definitely mistyped.
|
All times are GMT -5. The time now is 12:54 PM. |