0
我不明白爲什麼我的二進制文件沒有鏈接到我寫的GNUMake文件中的某些庫。我有:GNUMake鏈接步驟不適用於某些庫
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/sever
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`
二進制我得到的,當我在其上運行的LDD命令我沒有看到上述被正確鏈接的文件,即使他們是在以上/ MS指定的路徑/距離/ MSJAVA /PROJ/sunjdk/1.6.0_31/.exec/amd64.linux.2.4.glibc.2.3/jre/lib/amd64/ 上生成的二進制文件的LDD命令給我:
libmlib_image.so => not found
libfontmanager.so => not found
libawt.so => not found
libjvm.so => not found
libverify.so =t found
libzip.so =t found
libjava.so => not found
是的,問題實際上與RPATH非常感謝。 –