|
From: <jc...@fe...> - 2002-07-24 20:20:39
|
On Saturday 20 July 2002 00:40, Alan W. Irwin wrote:
=2E..
|
| I believe this new linking scheme should work for all modern Linux
| dynamic loaders.
This doesn't mean that others unices will be forgeted, does it?
| (Just for the record, my dynamic loader
| /lib/ld-2.2.5.so from Debian woody is part of the libc6-2.2.5
| package.) However, if I recall correctly there was some evidence in
| the past that Joao's older patched SuSe distribution had different
| linking requirements. So Joao and others, please test the latest CVS
| on your various Linux distributions starting from a fresh checkout
| from CVS.
As I told before, suse-7.2 don't have tkInt.h and other tkInt.h=20
dependent header files.
Copying those from the source tarball to /usr=09/include enables the=20
compilation of the tkwin driver, but not running it in plplot tmp dir:
[jcard@feup] ./x01c -dev tkwin
Plplot library version: 5.1.0
No tk plframe widget to connect to
[jcard@feup] ldd x01c
libplplotd.so.5 =3D> /home/jcard/plplot-devel/tmp/libplplotd.so.5=
=20
libtclmatrixd.so.5 =3D>=20
/home/jcard/plplot-devel/tmp/libtclmatrixd.so.5
libpltcld.so.5 =3D> /home/jcard/plplot-devel/tmp/libpltcld.so.5=20
libplplot_xwin_driverd.so =3D>=20
/home/jcard/plplot-devel/tmp/libplplot_xwin_driverd.so
libplplot_tkwin_driverd.so =3D>=20
/home/jcard/plplot-devel/tmp/libplplot_tkwin_driverd.so
libdl.so.2 =3D> /lib/libdl.so.2 (0x403d9000)
=2E..
Trying to follow the the tkwin receipt gives:
[jcard@feup] wish
% load libplplotd.so.5.1.0 Plplotter
couldn't load file "libplplotd.so.5.1.0": libplplotd.so.5.1.0: cannot=20
open shared object file: No such file or directory
% load libplplotd.so Plplotter
couldn't find procedure Plplotter_Init
It seems that some path is missing.
Coull you please send an updated receipt? I'm afraid that I have not=20
fully following the tkwin thread.
Also,=20
[jcard@feup] ./x01c -dev tk
Plplot library version: 5.1.0
gives the following error message in a tk window:
Invalid command name "plw::create"
while executing
"plw::create .x01c tk"
("after" script)
This also appeared in some messages in the list, but I can't see how to=20
solve it.
Finally, the libplplot_tkwin_driverd.so and libplplot_xwin_driverd.so:=20
what are they for?
I think that they are there to help the unix loader to find the=20
xxx_drv.so files, but it does not look a clean approach to the=20
problem... perhaps the drivers that know that they will need another=20
driver should ldopen() them themselfs? E.g., if tkwin knows that it=20
needs the xwin driver, than at plD_init_tkwin() it should dlopen=20
drivers/xwind_drv.so?
Joao
|