help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNUMake link step not work to certain libraries


From: Fadi Hatem
Subject: GNUMake link step not work to certain libraries
Date: Sat, 5 Mar 2016 06:52:11 -0800 (PST)

Hi Folks,

I can't figure out why my binary does not link with certain libraries:



LDLIBRARIES +=
-L/ms/dist/msjava/PROJ/sunjdk/1.6.0_31/.exec/amd64.linux.2.4.glibc.2.3/jre/lib/amd64/



LDLIBRARIES +=
-L/ms/dist/msjava/PROJ/sunjdk/1.6.0_31/.exec/amd64.linux.2.4.glibc.2.3/jre/lib/amd64/server



LDLIBRARIES +=
-L/ms/dist/msjava/PROJ/sunjdk/1.6.0_31/.exec/amd64.linux.2.4.glibc.2.3/jre/lib/amd64/xawt



LDLIBRARIES += -lmlib_image -lfontmanager -lawt -lmawt



LDLIBRARIES += -ljvm -lverify -lzip –ljava

 

The binary I get when I run the ldd command on it I don't see the files
above being linked properly even though they are in the path specified above

/ms/dist/msjava/PROJ/sunjdk/1.6.0_31/.exec/amd64.linux.2.4.glibc.2.3/jre/lib/amd64/
 

The ldd command on the resulting binary gives me:



libmlib_image.so => not found



                libfontmanager.so => not found



                libawt.so => not found



                libmawt.so => not found



                libjvm.so => not found



                libverify.so => not found



                libzip.so => not found



                libjava.so => not found




--
View this message in context: 
http://gnu-make.2324884.n4.nabble.com/GNUMake-link-step-not-work-to-certain-libraries-tp16876.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]