From owner-freebsd-emulation Thu Apr 27 13:37:45 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from mailgw00.execpc.com (mailgw00.execpc.com [169.207.1.78]) by hub.freebsd.org (Postfix) with ESMTP id 936EB37BD5D for ; Thu, 27 Apr 2000 13:37:38 -0700 (PDT) (envelope-from dpoland@execpc.com) Received: from judah (xorth-1-162.mdm.fox.execpc.com [169.207.125.36]) by mailgw00.execpc.com (8.9.1) id PAA23226; Thu, 27 Apr 2000 15:37:29 -0500 From: "Doug Poland" To: "Bush Doctor" Cc: Subject: RE: Linux sybase library Date: Thu, 27 Apr 2000 15:37:29 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 In-Reply-To: <20000427155756.C50174@goku.cl.msu.edu> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > 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