freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: apache can't start after successful apache/php/free- tds build
- From: "jay" <jsoucy AT mos.org>
- To: freetds AT franklin.oit.unc.edu
- Subject: RE: apache can't start after successful apache/php/free- tds build
- Date: Wed, 3 Jul 2002 12:15:36 -0400
> > From: jay [mailto:jsoucy AT mos.org]
> > Sent: July 2, 2002 6:18 PM
> >
> > I just built apache 1.3.26, mod_ssl 2.8.10, php 4.2.1, and
> > freetds 0.53 on
> > Solaris 8. Everything compiles without error, but when I go to start
> > apache, I get:
> >
> > Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
> > /usr/local/apache/bin/httpd: fatal: relocation error: file
> > /usr/local/apache/libexec/libphp4.so: symbol DBSETLCHARSET: referenced
> > symbol not found
>
> Jay,
>
> I think the advice you found about modifying php_sybase_db.c is not helping.
> I suggest you return to the unhacked version.
>
> You're trying to use FreeTDS's db-lib, yes? The library definitely exports
> DBSETLCHARSET:
>
> $ nm src/dblib/.libs/libsybdb.so.1.0 |grep DBSET
> 000054c8 T DBSETLAPP
> 000053fc T DBSETLCHARSET
> 000054a0 T DBSETLHOST
> 00005424 T DBSETLPACKET
> 00005450 T DBSETLPWD
> 00005478 T DBSETLUSER
>
> I bet if you run "nm" against libphp4.so, you'll see:
>
> 00000000 T DBSETLCHARSET
>
> meaning the runtime linker has to resolve the symbol by finding and loading
> libsybdb.so. It sounds like it's not doing that (that's the gnashing of
> teeth you're hearing).
>
> Did you use any --prefix with ./configure when building FreeTDS? Where are
> the FreeTDS libraries installed? And are you sure ldconfig is happy?
>
I didn't add anything to ./configure, so it just installed in
/usr/local/freetds
I'm not sure about ldconfig...
> Might as well interrogate the usual suspects before investigating a
> conspiracy. Of course, they'll never put me in charge of the FBI with that
> kind of attitude. :)
Our current President might ;)
-Jay
- RE: apache can't start after successful apache/php/free- tds build, jay, 07/03/2002
Archive powered by MHonArc 2.6.24.