Hey. Well, I made progress on getting my working Embperl. I used ldd to see what the beta 5 embperl was linked to and compared it to what the beta 7 file was linked to.
I found that if I exported LD_PRELOAD with my xalan and xerces libraries before I did the make test, that embperl would load.
I then compared the Makefiles and saw in the one for 5, there was:
EXTRALIBS = -L/usr/local/xalan/c/lib -L/usr/local/xerces/lib -lxalan-c1_2 -lxerces-c1_5_1
LDLOADLIBS = -L/usr/local/xalan/c/lib -L/usr/local/xerces/lib -lxalan-c1_2 -lxerces-c1_5_1
BSLOADLIBS =
LD_RUN_PATH = /usr/local/xalan/c/lib:/usr/local/xerces/lib
and in 7, there was just
LD_RUN_PATH =
in that same section, so I copied that stuff from the beta 5 makefile to the appropriate section in the Makefile for 7, and now embperl loads and make test works. I think the new beta 7 is now linked to all the same libraries that my working beta 5 was.
I really don't know anything about Makefiles, c, and compiling and linking programs...does what I did make sense? I am worried about causing other problems with my embperl installation. Is this something weird on my system, or a bug in how the makefile is generated?
Josh
Chat with friends online, try MSN Messenger: Click Here
--- Begin Message ---Hi,I am having trouble getting a workable version of embperl2 beta 7 (6 doesn't work either) with xalan. I can get it to compile using xalan 1.2 and xerces 1.5.1, but when I run make test I getCan't load '/usr/src/Embperl-2.0b7/blib/arch/auto/Embperl/Embperl.so' for module Embperl: /usr/src/Embperl-2.0b7/blib/arch/auto/Embperl/Embperl.so: undefined symbol: cerr at /usr/local/lib/perl5/5.6.0/i686-linux/DynaLoader.pm line 200.Beta 5 compiles and runs OK using the same xalan/xerces libs/sources. And beta 6 and 7 compile and run for me fine when i don't build in the xalan support.Any help/suggestions would be appreciated. I tried on two redhat 6.2 boxes. On has perl 5.6.0 and the other has 5.6.1Thanks,Josh
Get your FREE download of MSN Explorer at http://explorer.msn.com.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- End Message ---
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]