Mac Os X Ld Library Not Found For

Hello everyone
I am trying to install something but I can't... After 'configure', which ends with no problem but where I get this:
checking for sqrt in -lm... no
checking for main in -lgslcblas... no
checking for main in -lgsl... no
I am trying to to 'make' but I end up with this error:
gcc -g -Wall -static -o multipht multipht.o multimatch.o multiweight.o multiwrite.o multisort.o multiclean.o
ld: library not found for -lcrt0.o
collect2: ld returned 1 exit status
make: *** [multipht] Error 1
I think that the problem is the flags because when I tried to install the same thing in Ubuntu at the configuration I took
checking for sqrt in -lm... yes
checking for main in -lgslcblas... yes
checking for main in -lgsl... yes
and everything went well.
Please help
Thanks

Mac Os X Ld Library Not Found For Lssl

For

Mac Os X Ld Library Not Found For L

Mac os x ld library not found for lrctblob
Hi,
I am using g++ 3.3 on os X 10.3.9. I have created my own library
using
ar ruv *.o files
After this I try to compile a test program using,
g++ -pg -O -Wno-deprecated -ansi -pedantic -o test test.C
-DANSI_HEADERS -D_G_HAVE_BOOL -I. -I/ALLINCLUDEDIRS -lmylib -llpsolve51
-lm -L.
And the compilation works fine.
But when i try to run the executable ./test, I get the following error
message:
dyld: ./test_grid can't open library: liblpsolve51.dylib (No such file
or directory, errno = 2)
Trace/BPT trap
The library liblpsolve.dylib is NOT located in the current directory. I tried checking the value of LD_LIBRARY_PATH using echo$LD_LIBRARY_PATH, but nothing showed up.
It seems that LD_LIBRARY_PATH is not set, and moreover I am not even sure if it is used on darwin? On posting to a newsgroup, I was told that I need DYLD_LIBRARY_PATH instead. On doing echo $DYLD_LIBRARY_PATH I do not see any paths. Isn't a default value set for them already?
How can I resolve this problem?
thanks,
amit.

Jan 12, 2020 It's not clear why Apple decided to hide the user's Library folder, but you have multiple ways to get it back: two Apple provides (depending on the version of OS X you are using) and one in the underlying file system. The method you use depends on whether you want permanent access to the Library folder or only when you need to go there.