You are quite right, the executable is a script that clobbers the LD_LIBRARY_PATH.
For some reason I can start up the server via /usr/local/etc/rc.d/... tomcat script, but the "tomcat4ctl" script fails silently. So it now works. Thanks for your help. regards, Gavin -----Original Message----- From: Dror Matalon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 25 June 2002 12:48 PM To: [EMAIL PROTECTED] Subject: Re: Jakarta-Tomcat 4.0.1/jdk1.3.1 on FreeBSD via ports install Hi, It's been a while so I don't remember all the gory details, but I'm running on FreeBSD both at home and at work. I don't believe you need to do anything special to get LD to see the thread library as fars as LD_LIBRARY_PATH or any of the other ld related stuff goes. I think most of the intelligence is in the java executable that'a shell script. When I do a sh -xv /usr/local/jdk1.3.1/bin/java the last few lines do: LD_LIBRARY_PATH=/usr/local/jdk1.3.1/jre/lib/i386/green_threads:/usr/local/jd k1.3.1/jre/lib/i386/classic:/usr/local/jdk1.3.1/jre/lib/i386:/usr/local/jdk1 .3.1/jre/../lib/i386 exec /usr/local/jdk1.3.1/bin/i386/green_threads/java probably this is why setting the path explicitly doesn't work, cause the script over rides it. Hope this helps, Dror On Tue, Jun 25, 2002 at 10:53:49AM +1000, Gavin Lang wrote: > Greets all, > > I have been wrestling with the libhpi.so issue for the last two days > now. I would be extremely interested to hear experiences from other > people who have been in similar situations. > > Basically I can't get ld to see > $JAVA_HOME/jre/lib/i386/[*,green_threads] > despite putting the paths explicitly into /etc/ld-elf.so.conf and also > setting the LD_LIBRARY_PATH. I have had some success using the tomcat rc.d > script but it only works occasionally and unreliably. > > I installed both tomcat4.0.3 & sun's jdk1.3.1 from the FreeBSD ports. > I have also tried installing onto a Debian Linux box but I think the > libstdc++* libs are a little more tricky than this. > > There's not a great deal of help from google and the FreeBSD/java site > is a little out of date. As far as I can tell my jdk install is > working fine as I can compile all of my java programs as well as > jEdit4. If anyone has read this far and has any info or web sites that > they can point me to I will appreciate it muchly. > > thx & regards, > Gavin > > ______________________________________________________________________ > _____ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: > http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > -- Dror Matalon Zapatec Inc 1700 MLK Way Berkeley, CA 94709 http://www.zapatec.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
