Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2003
    Posts
    2

    Unanswered: Problems of Installing Sybperl 2.15 on ASE 12.5.0.2

    Hello,

    I am installing Sybperl 2.15 on ASE 12.5.0.2, but there are some problems.

    OS: Solaris 8
    Perl Version: 5.6.1
    Sybase: ASE 12.5.0.2 (64 Bit)

    # perl Makefile.PL
    /opt/sybase/OCS-12_5/lib/libct.a: No such file or directory
    Sybase OpenClient found.
    ...
    ...

    #make
    LD_RUN_PATH="/opt/sybase/OCS-12_5/lib:/usr/lib" gcc -L/opt/sybase/OCS-12_5/lib -G -L/usr/local/lib -L/opt/gnu/lib CTlib.o -o ../blib/arch/auto/Sybase/CTlib/CTlib.so -L/opt/sybase/OCS-12_5/lib -lct64 -lcs64 -ltcl64 -lcomn64 -lintl64 -lblk64 -ltli64 -linsck64 -lm
    ld: fatal: file /opt/sybase/OCS-12_5/lib/libct64.so: wrong ELF class: ELFCLASS64
    ld: fatal: file /opt/sybase/OCS-12_5/lib/libcs64.so: wrong ELF class: ELFCLASS64
    ld: fatal: file /opt/sybase/OCS-12_5/lib/libtcl64.so: wrong ELF class: ELFCLASS64
    ld: fatal: file /opt/sybase/OCS-12_5/lib/libcomn64.so: wrong ELF class: ELFCLASS64
    ld: fatal: file /opt/sybase/OCS-12_5/lib/libintl64.so: wrong ELF class: ELFCLASS64
    ld: warning: file /opt/sybase/OCS-12_5/lib/libblk64.a(blkbind.o): wrong ELF class: ELFCLASS64
    ld: fatal: library -ltli64: not found
    ld: fatal: library -linsck64: not found
    ld: fatal: File processing errors. No output written to ../blib/arch/auto/Sybase/CTlib/CTlib.so
    collect2: ld returned 1 exit status
    make[1]: *** [../blib/arch/auto/Sybase/CTlib/CTlib.so] Error 1
    make[1]: Leaving directory `/tmp/sybperl-2.15/CTlib'
    make: *** [subdirs] Error 2

    Does anybody know what is wrong? Did any one encouter this problem before?

    Thanks for any help!
    Trevor

  2. #2
    Join Date
    Jan 2003
    Location
    Geneva, Switzerland
    Posts
    353

    Re: Problems of Installing Sybperl 2.15 on ASE 12.5.0.2

    You are trying to build sybperl with the Sybase 64bit libraries, but perl is built in 32bit mode. That won't work - you can't mix 32bit and 64bit code in the same binary.

    You have two possibilities:

    1. Sybase normally ships the 32bit libraries as well as the 64bit libraries - go back to the CD (or the download, or whatever) and load the 32bit libraries, and rebuild sybperl.

    2. Re-build perl in 64bit mode, and then rebuild sybperl. Make sure when building sybperl to uncomment the BUILD_TYPE entry in the CONFIG file.

    Additional help can be found on the sybperl-l mailing list - see my home page for details (http:.//www.mbay.net/~mpeppler)

    Michael

  3. #3
    Join Date
    Jan 2003
    Posts
    2

    Re: Problems of Installing Sybperl 2.15 on ASE 12.5.0.2

    Originally posted by mpeppler
    You are trying to build sybperl with the Sybase 64bit libraries, but perl is built in 32bit mode. That won't work - you can't mix 32bit and 64bit code in the same binary.

    You have two possibilities:

    1. Sybase normally ships the 32bit libraries as well as the 64bit libraries - go back to the CD (or the download, or whatever) and load the 32bit libraries, and rebuild sybperl.

    2. Re-build perl in 64bit mode, and then rebuild sybperl. Make sure when building sybperl to uncomment the BUILD_TYPE entry in the CONFIG file.

    Additional help can be found on the sybperl-l mailing list - see my home page for details (http:.//www.mbay.net/~mpeppler)

    Michael
    Hi,
    Thanks for your help!
    Trevor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •