Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Maes_Eric <emm at ti dot emea dot eds dot com>
Subject: perl Makefile.PL fails ...
Date: Mar 2 1998 2:28PM

I have downloaded sybperl-2.09 and have some difficulties installing it
on my Sun Ultra1 running Solaris
2.5.1 with recommended patches.
This is the output I receive after running perl Makefile.PL.

Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Sybase::BCP
Warning (will try anyway): No library found for -lm
Writing Makefile for Sybase::CTlib
Warning (will try anyway): No library found for -lm
Writing Makefile for Sybase::DBlib
Writing Makefile for Sybase::Sybperl
Writing Makefile for Sybase

Apparently the installation procedure cannot find the mathematical
library, even though it is present on
the system in the usual place.
I ran truss on the command and this yields the following: At the start
of the procedure, libm is found:

execve("/usr/local/bin/perl", 0xEFFFF980, 0xEFFFF98C)  argc = 2
open("/dev/zero", O_RDONLY)                     = 3
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3,
0) = 0x6F
open("/usr/lib/", O_RDONLY)            = 4
fstat(4, 0xEFFFF634)                            = 0

Further down the output, I find:

stat("/usr/sybase/lib/", 0x000B1138)     Err#2 ENOENT
stat("/usr/sybase/lib/libm_s.a", 0x000B1138)    Err#2 ENOENT
stat("/usr/sybase/lib/libm.a", 0x000B1138)      Err#2 ENOENT
stat("/usr/sybase/lib/m.a", 0x000B1138)         Err#2 ENOENT
stat("/usr/sybase/lib/Slibm.a", 0x000B1138)     Err#2 ENOENT

open("/usr/openwin/lib", O_RDONLY|O_NDELAY)     = 3
stat("/usr/openwin/lib/", 0x000B1138)    Err#2 ENOENT
stat("/usr/openwin/lib/libm_s.a", 0x000B1138)   Err#2 ENOENT
stat("/usr/openwin/lib/libm.a", 0x000B1138)     Err#2 ENOENT
stat("/usr/openwin/lib/m.a", 0x000B1138)        Err#2 ENOENT
stat("/usr/openwin/lib/Slibm.a", 0x000B1138)    Err#2 ENOENT
stat("CTlib_BS", 0x000B1138)                    Err#2 ENOENT

This would seem to indicate that the procedure is trying to find libm,
but stops looking after having
searched /usr/sybase/lib and /usr/openwin/lib.

Needless to say, I am puzlled by this...

Any advice?

Thanks in advance.


Eric Maes                            EDS/Technical Infrastructure EMEA
Noorderlaan 147                          email   :
B-2030 Antwerp                           Tel     :      +32 3 544 6328
BELGIUM                                  FAX     :      +32 3 544 6123