in reply to Re: Cleanly adding a directory to DynaLoader's search path?
in thread Cleanly adding a directory to DynaLoader's search path?
I know this is the issue as ldd points to it:318 # --- MakeMaker const_loadlibs section: 319 320 # ARS might depend on some other libraries: 321 # See ExtUtils::Liblist for details 322 # 323 EXTRALIBS = -L/home/hdweb/ars/api_701p1/lib -licuucbmc -licu +i18nbmc 324 LDLOADLIBS = -L/home/hdweb/ars/api_701p1/lib -lpthread -licu +ucbmc -licui18nbmc 325 BSLOADLIBS = 326 LD_RUN_PATH = /home/hdweb/ars/api_701p1/lib
After exporting LD_LIBRARY_PATH=/home/hdweb/ars/api_701p1/lib in bash, the two extra libraries are now properly found.$ ldd ~/perl/i386-linux-thread-multi/auto/ARS/ARS.so linux-gate.so.1 => (0x00d37000) libpthread.so.0 => /lib/libpthread.so.0 (0x00110000) libicuucbmc.so.32 => not found libicui18nbmc.so.32 => not found libc.so.6 => /lib/libc.so.6 (0x00228000) /lib/ld-linux.so.2 (0x4bfe4000)
|
|---|