- Ld Library Not Found For Lssl Mac Mysql Tutorial
- Ld Library Not Found For Lssl
- Ld Library Not Found For Lssl Mac Mysql Command
aneuryzma wrote:
Hi,
I'm trying to compile some sources and I get the following error message:
/bin/sh ../libtool --mode=link g++ -g -O2 -o pursuit_monitor Monitor.o MonitorParameters.o RGBcolor.o ../../pursuitbase/pursuitbase/libConnection.la ../../pursuitbase/pursuitbase/libGenericValues.la -lpthread -lnsl -lglut -lXi -lGLU -lGL
g++ -g -O2 -o pursuit_monitor Monitor.o MonitorParameters.o RGBcolor.o -Wl,-bind atload ../../pursuitbase/pursuitbase/.libs/libConnection.a ../../pursuitbase/pursuitbase/.libs/libGenericValues.a -lpthread -lnsl -lglut -lXi -lGLU -lGL
ld: library not found for -lnsl
collect2: ld returned 1 exit status
make[3]: * [pursuit_monitor] Error 1
make[2]: * [all-recursive] Error 1
make[1]: * [all] Error 2
make: * [all-recursive] Error 1
What's lnsl library ?
Is something I can remove from makefile configuration ?
The parameter '-lnsl' is a a lower-case 'L' (which describes a library to be searched) followed by the suffix of the name of the library, 'nsl'. The effect is to tell 'ld' to look for a library named 'libnsl.a' or 'libnsl.dylib'. The 'ld' command normally searches for ibraries in the directories /usr/lib and /usr/local/lib . If the 'libnsl' library is in neither of these, addition search directories can be added with the '-L' parameter.
You might try that command with the '-lnsl' parameter removed. If nothing else, it would give you a clue as to what routines were needed from the 'nsl' library, which could help you resolve the problem.
Ld Library Not Found For Lssl Mac Mysql Tutorial
Manual setup on Mac OS X (10.13 - 11.0). Ld: library not found for -lssl. Devel openssl-devel ImageMagick ImageMagick-devel mysql-devel postgresql-devel. Make sure openssl is installed on Mac via Homebrew. Brew install openssl Install mysql2 gem. This helped me when the gem install kept on errorring out about not being able to find the mysql client. I modified @AnshulRiyal's command a little: On Mojave, High Sierra, or Catalina, using homebrew. Fixed my ld: library not found for -lssl.
Ld Library Not Found For Lssl
Ld Library Not Found For Lssl Mac Mysql Command
Sep 7, 2009 2:02 PM