Up Prev Next
From: "Jay T dot Millar" <jmillar at eaglequest dot com>
Subject: Re: Problems Compiling SybPerl for Linux (Anyone Know?)
Date: Oct 19 1997 12:23AM
Andreas Schmidt wrote:
> Hi Jay,
> did you see Nathan Harper's posting "RE: More Problems installing Sybperl
> under Linux" (14 Oct):
> >Anyone else who is having trouble with ld crashing during the link phase on
> >Linux (Once you've already set LINKTYPE=STATIC and EXTRA_LIBS=libsybtcl,
> >assuming you're using the ELF port of the CTlib and have followed the
> >README for Sybperl) may want to try copying libsybtcl.a to libtcl.a. This
> >allowed me to successfully link sybperl on machines running Red Hat that
> >had been troublesome before. I'm not sure why this had anything to do with
> >it since the EXTRA_LIBS flag was set, but it worked.
> >Nathan Harper
No, I didn't see Nathan's post as I just joined the list. However, I
tried the above and it worked perfectly! I now have a working sybperl
binary. Very, very nice.
Thanks for the quick response and info.
However, I now have two questions:
1. Despite the fact that everything on my system is setup (to the best
of my knowledge) to point at /opt/sybase as the $SYBASE home directory,
I get errors when I use sybperl in CGI scripts which state that the home
directory is assigned to '/home/sybase', and that it can't find the
files it needs. If I copy the contents of /opt/sybase to /home/sybase,
everything works fine. I don't understand where this assignment is
coming from. I even explicitly set the SYBASE environment variable to
'/opt/sybase' in the script. Anything obvious I'm missing?
2. Given the somewhat hackish method the elf version of ctlib was
derived for Linux, what does anyone think the 'life-expectancy', or
useful life of these libraries are? I'm afraid that if I use sybperl on
a Linux box to develop, that in time Sybase will move on,
and my database engine will no longer be accessible via this method.
Has this been discussed before?
Thanks again for the great information. Any input to the above
questions are very much appreciated..........