Skip to main content

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
code:
man ld
can use -rpath linker option, or ld_run_path (environment variable read @ link time).


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] linking issues


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues