Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

dbschema.pl not working

by mnlight (Scribe)
on Dec 21, 2007 at 22:31 UTC ( [id://658558]=perlquestion: print w/replies, xml ) Need Help??

mnlight has asked for the wisdom of the Perl Monks concerning the following question:

We are attempting to compile the dbschema.pl script and we get this error. Probably need more info but not quite sure what else to tell you.
$ make make[1]: Entering directory `/net/home/coreyc/sybperl-2.18/BCP' make[1]: Leaving directory`/net/home/coreyc/sybperl-2.18/BCP' make[1]: Entering directory`/net/home/coreyc/sybperl-2.18/BLK' make[1]: Leaving directory `/net/home/coreyc/sybperl-2.18/BLK' make[1]: Entering directory `/net/home/coreyc/sybperl-2.18/CTlib' rm -f ../blib/arch/auto/Sybase/CTlib/CTlib.so LD_RUN_PATH="/opt/sybase/OCS-12_5/lib" cc -L/opt/sybase/OCS-12_5/lib +-shared -L/usr/local/lib64 CTlib.o -o ../blib/arch/auto/Sybase/CTlib +/CTlib.so -L/opt/sybase/OCS-12_5/lib -lct_r -lcs_r -lsybtcl_r -lcom +n_r -lintl_r -lblk_r -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-lin +ux/bin/ld: skipping incompatible /opt/sybase/OCS-12_5/lib/libct_r.so +when searching for -lct_r /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-lin +ux/bin/ld: skipping incompatible /opt/sybase/OCS-12_5/lib/libct_r.a w +hen searching for -lct_r /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-lin +ux/bin/ld: skipping incompatible /opt/sybase/OCS-12_5/lib/libct_r.so +when searching for -lct_r /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-lin +ux/bin/ld: skipping incompatible /opt/sybase/OCS-12_5/lib/libct_r.a w +hen searching for -lct_r /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-lin +ux/bin/ld: cannot find -lct_r collect2: ld returned 1 exit status make[1]: *** [../blib/arch/auto/Sybase/CTlib/CTlib.so] Error 1 make[1]: Leaving directory `/net/home/coreyc/sybperl-2.18/CTlib' make: *** [subdirs] Error 2

Replies are listed 'Best First'.
Re: dbschema.pl not working
by almut (Canon) on Dec 22, 2007 at 02:49 UTC

    It might be skipping your existing libs as incompatible because they're 32-bit, and it's looking for 64-bit versions... Just a guess, though.

    What does "file /opt/sybase/OCS-12_5/lib/libct_r.so" say?

Re: dbschema.pl not working
by mpeppler (Vicar) on Jan 03, 2008 at 11:01 UTC
    Well - first of all your problem is not with dbschema.pl itself, but with building the Sybase::xxx modules (aka "sybperl").

    The problem is that you have a 64bit perl binary, but you have a 32bit version of ASE (and of OpenClient).

    You have two choices:
    1. Rebuild a 32bit perl binary, and the build sybperl.
    2. Get the 64bit version of ASE/open client.

    The 64bit version of ASE is available for free on linux x86 and x86-64 (this is the "Developer" Edition). Go to the Sybase home page (http://www.sybase.com) and follow the link for the 15.0.2 Developer Edition in the right-hand column.

    Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://658558]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-23 21:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found