On Thu, Dec 20, 2007 at 02:23:58PM -0500, Brad Chick wrote:
> All,
>
> I'm not sure if the nsmysql
> is still functional or being used by anyone. But I'm trying to compile
>
> on
> Linux version 2.6.11-1.1369_FC4smp (gcc version 4.0.0 20050525 (Red Hat 
> 4.0.0-9))
> with aolserver 4.0.10
>
> and am getting the following error:
>
>
> ld: unrecognized option '-Wl,-rpath,/usr/local/aolserver/lib'
> make: *** [nsmysql.so] Error 1
>
> We see this thread,
> http://www.webservertalk.com/archive388-2007-7-1938152.html
> where Dossy says to
>
> "Try changing that to:
>
> -Wl,-rpath -Wl,/usr/local/aolserver/lib"
>
> but don't know exactly where that needs to be changed.
>
> We tried making the change in
>
> /usr/local/aolserver/include/Makefile.global
>
> But that didn't work. Any help would be appreciated.
 
 ifndef NO_LDOVERRIDE
 # Override linker to use ld(1), if your gcc doesn't understand -R ...
-LDSO     = ld -shared
+LDSO     = gcc -shared
 endif

Cheers

-- 
Francesco P. Lovergine


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to