|
From: <jca...@in...> - 2001-10-12 02:12:11
|
The mailing list "reply" is again broken. Just leave it that way, we=20
will get used to it this way.
=2E..
| OK, if you can't, you can't. But I can. I configure/installed in
|
| /usr/local/test, then, as another user, compiled x01x.c:
I forgot to say, in other then the plplot tmp dir=20
| > gcc x01c.c -o x01c -L/usr/local/test/lib
| > -I/usr/local/test/include
=2E..
| But, given that the others run OK, I am inclined to another
| problem. tk is static, dont work,
| xwin is static, works,
| ntk, gnome are dynamic, work.
| ps, psc, etc are dynamic also work OK.
As a matter of fact the pstex driver is not working after install,=20
but I already was expecting that, as you can see in the relevant=20
comments in dyndrv.in.
| Thus, the tk problem is another problem. Or maybe not?
By the way, Geoffrey, you are not working in linux, are you?
The dlopen() man page says:
External references in the library [jc: the dlopened program]=20
are resolved using the libraries in that library's dependency =20
list [jc: I (we?) don't want that] and any other
libraries previously opened with the RTLD_GLOBAL flag
[jc: so I guess that in linux the loader opens the libraries the=20
executable was linked against, with RTLD_GLOBAL, and=20
as such their symbols are available to the dlopened program].
=20
If the executable was linked with the flag "-rdynamic", then
the global symbols in the executable will also be used to
resolve references in a dynamically loaded library.
Joao
|