Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2000 15:37:29 -0500
From:      "Doug Poland" <dpoland@execpc.com>
To:        "Bush Doctor" <dervish@goku.cl.msu.edu>
Cc:        <freebsd-emulation@FreeBSD.ORG>
Subject:   RE: Linux sybase library
Message-ID:  <NDBBKMNOJKJGAEKJNLIAAELFDHAA.dpoland@execpc.com>
In-Reply-To: <20000427155756.C50174@goku.cl.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Out of da blue Doug Poland aka (dpoland@execpc.com) said:
> > Hello,
> > 
> > I'm having a problem with a Sybase (for linux) library reference.  I've
> > tried posts on -questions, php3-help@lists.php.net, sybase-l but so far
> > no help.  I don't think there are many people out there running Sybase
> > on FreeBSD trying to use apache/php3.
> > 
> > Running 3.1-RELEASE, apache-1.3.12, php-3.0.16, sybase-11.0.3.3.
> > 
> > I've configured and compiled php3 into libphp3.so.  When I attempt to start
> > apache, it tells me...
> > 
> > # apachectl start
> >    Syntax error on line 215 of /usr/local/etc/apache/httpd.conf:
> >    Cannot load /usr/local/libexec/apache/libphp3.so into server: 
> >    /usr/lib/libcs.so: Undefined symbol "intl_cstrbuild"
> >    /usr/local/sbin/apachectl start: httpd could not be started
> > 
> > Any ideas on this?  I'm no UNIX guru by any stretch of the imagination.
> > I do, however, want to get this environment running as a prototype and
> > proof-of-concept for a low-cost, high-speed, web/db platform.  I'm
> > afraid if I can't figure this out, I'll have to use linux, where I
> > have even less experience, yikes!
> You're missing a library that either apache or php needed to
> be linked against so the run time loader could access it.
> You don't say, but do you have the linux compatibility module installed?
> Did you build apache from ports or by hand?
> 

Yes, I have the linux compatibility module installed.  
The proof is sybase runs.

The library /usr/lib/libcs.so was installed from the
sybase rpm.  The file in /usr/lib is a symbolic link
to /opt/sybase/lib.

I actually installed apache from the package 
apache-php3-1.3.4.  I tried building apache 
from apache source but failed miserablly.  Since 
the package is compiled with DSO, I figured I 
could make a php DSO using php3 from php.net

Would having the linux_devel package installed
make any difference?  I tried it once but gcc
failed immediately.  

--
Doug




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBKMNOJKJGAEKJNLIAAELFDHAA.dpoland>