Thread: linking issues
hi there,
i've got problem compiling program has link against libraries in:
/opt/pylon/lib64. not standard location runtime linker.
in make file export ld_library_path path above. program compiles pretty well. @ run time thought smart , have program set ld_library_path before using pylon library. www search engine search has thought me libraries linked @ runtime before main function, therefore isn't usefull have program set ld_library_path. there tricks tell executabe load libraries / link @ runtime against libraries in /opt/pylon/lib64?
ofcourse can set ld_library_flag before running program runs, avoid using ld_library_path since it's not fix.
welcome
cheers,
maarten
i don't recall fine details, see
can use -rpath linker option, or ld_run_path (environment variable read @ link time).code:man ld
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] linking issues
Ubuntu
Comments
Post a Comment