[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dynamic Linkage Problem
From: |
Benjamin Grauer |
Subject: |
Dynamic Linkage Problem |
Date: |
Tue, 21 Feb 2006 16:42:07 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.7 (X11/20060216) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there
i have a problem using automake with Dynamic Library loading (runtime)
what i have is the following:
src/program
src/entities/libModule.la
now when i want to link at runtime against src/entities/libModule.la,
lt_dlopen reports that the file was not found
what i have to do is supply an absolute path to the lib at runtime....
since the Programm should be portable, i do not know how to do this in
a general way.
e.g:
when developing, the first (library) search path should be ./src/entities/
when installed, the first search path should be @libdir@/
i really searched everywhere in the Documentation of Automake and
Autoconf, and just did not find anything remotly speaking about this
problem...
what i want to generate is something described on this page:
http://www2.linuxjournal.com/article/3687
any help is appreciated
Benjamin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQIVAwUBQ/s0zq3dUaw0Ln2OAQIPcg/7B/FnfIohSI5p1veQzOErUkFZkV6ymCgq
QdiU/FIB9jwqYAfc2tYROCqINxfdpcOyUSKlBuwvgl2ysK/H3vQuhWOxH7tnlEHT
sNitBa8CQLJ6HOUA8BHE1qgwqG/vX2dGGYeJhGHge6UqIvibAGFxMzJrQOl3SQDy
+bB5/u1txCQariDsimU5JNwwaFIQU0T2mnNlALgdwadMwGWiV7OTZWYmY6kfnyVF
8PhICE0jWYZBJc7+61kfcPDZ02OBTjGoz5ghzPBBqf9jUu5hUhJYabDQmkQSBlxv
/9lq2zJJm9svNTdn9M1JFcIsDN2O/np2TNpzj//Iipz4uCKFDP9sZUaIJ3rm+s2j
5iU30JQv6R1mIFK0p86jVFOBGeuG/6k0QFBQpiyGGCI/2jp+B8V/Fz4Zn8zGT23m
PZYwaaM4cq/QSzbRyAmjUypM2Dr2BJL1pK9/VSR7MzgYstR4UZvpnEhW4etj+eVP
8TjPdXYa7fjNJSySenFhidO5x6ozmOOqFlpyoRx9c5bXOVYtecSmsu0afCQgPRaE
7qw0RnbJBn8NoBUeN5xze1i5ZLEhv82dUzCL7IsfX/wAo+wQeb5DJ/2fZkslyKtI
B7fAed8IjkoBO2pit2Ipp/3RKL97wwPByBlZ2TMWqGFZU/IkgY1AEiluH2evla8h
hDHvO8CovPs=
=37jw
-----END PGP SIGNATURE-----
- Dynamic Linkage Problem,
Benjamin Grauer <=