has anyone got any ideas what is wrong with my install of Sybase ASE and
DBD?? ... this is RedHat 5.2 ... am I missing something?

------------------------------
I just got the SYBASE ASE and SYBASE DOCS RPM's off the RH 5.2 CD

I ran rpm -Uvh on the 2 RPM's and they installed fine.

I then untarred the DBD Sybase stuff

[root@Mail /tmp]# tar -zxvf DBD-Sybase-0.13.tar.gz

I edited the CONFIG file and changed "EXTRA_LIBS=-linsck" as the docs said
linux needed this.
I also have "LINKTYPE=static" defined

-------------------------------------------------------------
I then ran a 'perl Makefile.PL'

looks good ...

[root@Mail DBD-Sybase-0.13]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -ltli
Using DBI 1.08 installed in /usr/lib/perl5/site_perl/i386-linux/auto/DBI
Writing Makefile for DBD::Sybase

-------------------------------------------------------------
now I run a make

looks good also

[root@Mail DBD-Sybase-0.13]# make
mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/lib/DBD
mkdir ./blib/arch
mkdir ./blib/arch/auto
mkdir ./blib/arch/auto/DBD
mkdir ./blib/arch/auto/DBD/Sybase
mkdir ./blib/lib/auto
mkdir ./blib/lib/auto/DBD
mkdir ./blib/lib/auto/DBD/Sybase
mkdir ./blib/man3
cp Sybase.pm ./blib/lib/DBD/Sybase.pm
/usr/bin/perl -p -e "s/~DRIVER~/Sybase/g" <
/usr/lib/perl5/site_perl/i386-linux/auto/DBI/Driver.xst > Sybase.xsi
/usr/bin/perl -I/usr/lib/perl5/i386-linux/5.00405 -I/usr/lib/perl5
/usr/lib/perl5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/ExtUtils/typemap
Sybase.xs >Sybase.tc && mv Sybase.tc Sybase.c
cc -c -I/opt/sybase/include -I/usr/lib/perl5/site_perl/i386-linux/auto/DBI -
Dbool=char -DHAS_BOOL -O2    -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -fpic
-I/usr/lib/perl5/i386-linux/5.00405/CORE  Sybase.c
cc -c -I/opt/sybase/include -I/usr/lib/perl5/site_perl/i386-linux/auto/DBI -
Dbool=char -DHAS_BOOL -O2    -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -fpic
-I/usr/lib/perl5/i386-linux/5.00405/CORE  dbdimp.c
rm -rf blib/arch/auto/DBD/Sybase/Sybase.a
ar cr blib/arch/auto/DBD/Sybase/Sybase.a Sybase.o dbdimp.o && :
blib/arch/auto/DBD/Sybase/Sybase.a
chmod 755 blib/arch/auto/DBD/Sybase/Sybase.a
Manifying ./blib/man3/DBD::Sybase.3

-------------------------------------------------------------
I then run a make test and get the following ... any ideas???

[root@Mail DBD-Sybase-0.13]# make test
Writing "Makefile.aperl" for this perl
Note (probably harmless): No library found for -ltli
Using DBI 1.08 installed in /usr/lib/perl5/site_perl/i386-linux/auto/DBI
Writing Makefile.aperl for DBD::Sybase
make -f Makefile.aperl perl
make[1]: Entering directory `/tmp/DBD-Sybase-0.13'
Writing perlmain.c
cd . &&
cc -c  -I/usr/lib/perl5/i386-linux/5.00405/CORE  -Dbool=char -DHAS_BOOL -O2
\
   -DVERSION=\"0.13\" \
-DXS_VERSION=\"0.13\" -I/usr/lib/perl5/i386-linux/5.00405/CORE perlmain.c
cat ./blib/arch/auto/DBD/Sybase/extralibs.ld >>
blib/arch/auto/DBD/Sybase/extralibs.all
cat /usr/lib/perl5/i386-linux/5.00405/auto/DynaLoader/extralibs.ld >>
blib/arch/auto/DBD/Sybase/extralibs.all
cc -L/usr/local/lib -rdynamic -o perl -O2 ./perlmain.o
/usr/lib/perl5/i386-linux/5.00405/CORE/libperl.a
/usr/lib/perl5/i386-linux/5.00405/auto/DynaLoader/DynaLoader.a
./blib/arch/auto/DBD/Sybase/Sybase.a `cat
./blib/arch/auto/DBD/Sybase/extralibs.all` -lnsl -lndbm -lgdbm -ldb -ldl -lm
 -lc -lposix -lcrypt
/opt/sybase/lib/libtcl.so: undefined reference to `bsd_tcp'
make[1]: *** [perl] Error 1
make[1]: Leaving directory `/tmp/DBD-Sybase-0.13'
make: *** [perl] Error 2


----- Original Message -----
From: Mike McCauley <[EMAIL PROTECTED]>
To: Jamie Orzechowski <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, May 14, 1999 2:28 PM
Subject: Re: (RADIATOR) Sybase


> Hi Jamie,
>
> Hi Jamie,
>
> Ive found that on Linux, its genrally much easiser to install the free
Sybase
> ASE SQL server, and compile DBD-Sybase with the client libs in that one.
> Usually get no errors at all. On the other hand, I have always found the c
tlib
> librraies painful to use. Thats why I recommend to get Sybase ASE (its
very
> easy to install, there is an RPM, from memory) and use DBD-Sybase with
that.
>
> Cheers.
>
>
> On May 13, 10:43pm, Jamie Orzechowski wrote:
> > Subject: (RADIATOR) Sybase
> > I got the http://sk.php.net/extra/ctlib-linux-elf.tar.gz and untarred it
to
> > /opt/sybase
> >
> >
> > I then got the DBD-Sybase and edited the CONFIG file and changed
> > "EXTRA_LIBS=-linsck" as it says this is needed for linux ...
> >
> > I then run a perl Makefile.PL and get the following
> >
> > [root@Mail DBD-Sybase-0.13]# perl Makefile.PL
> > Using DBI 1.08 installed in /usr/lib/perl5/site_perl/i386-linux/auto/DBI
> > Writing Makefile for DBD::Sybase
> >
> > looks fine ...
> >
> > I then run a "make" and get about a million of the following ... any
ideas?
> >
> > /opt/sybase/lib/libintl.a(intiocs.o)(.text+0x21b): undefined reference
to
> > `write'
> > /opt/sybase/lib/libintl.a(intiocs.o)(.text+0x259): undefined reference
to
> > `memcpy'
> > /opt/sybase/lib/libintl.a(intiocs.o)(.text+0x281): undefined reference
to
> > `memset'
> > /opt/sybase/lib/libintl.a(intiocs.o)(.text+0x28f): undefined reference
to
> > `read'
> > /opt/sybase/lib/libintl.a(intiocs.o)(.text+0x2e0): undefined reference
to
> > `memset'
> > /opt/sybase/lib/libintl.a(intiocs.o)(.text+0x2eb): undefined reference
to
> > `lseek'
> > /opt/sybase/lib/libintl.a(intiocs.o)(.text+0x31c): undefined reference
to
> > `close'
> > /opt/sybase/lib/libintl.a(intiocs.o)(.text+0x325): undefined reference
to
> > `free'
> > /opt/sybase/lib/libintl.a(intiocs.o)(.text+0x32b): undefined reference
to
> > `free'
> > make: *** [blib/arch/auto/DBD/Sybase/Sybase.so] Error 1
> >
> > > There is a discussion about this in the Radiator FAQ at
> > > http://www.open.com.au/radiator/faq.html. The best answer depends on
> > exactly
> > > what type of Unix system is hosting Radiator. More details in the FAQ.
> > >
> >
> >
> >
> > ===
> > Archive at http://www.thesite.com.au/~radiator/
> > To unsubscribe, email '[EMAIL PROTECTED]' with
> > 'unsubscribe radiator' in the body of the message.
> >-- End of excerpt from Jamie Orzechowski
>
>
>
> --
> Mike McCauley                               [EMAIL PROTECTED]
> Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
> 24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
> Phone +61 3 9598-0985                       Fax   +61 3 9598-0955
>
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
> NT, Rhapsody
>
>


===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to