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: Charles Phares <cphares at mac dot com>
Subject: Re: Failing make...
Date: Feb 4 2005 9:30PM

Sure, Erick!

I only misspelled the variable name for DYLD_LIBRARY_PATH(!!)  I had  
defined it incorrectly as:  DYLD_LIBRARY  (details, details...)

My running value is:


I removed references to /usr/local/lib from the makefile as I don't  
have that directory structure.  I altered the following two definitions  
in the makefile:

EXTRALIBS = -L/Applications/Sybase/System/OCS-12_5/lib -lsybsrv_r  
-lsybct_r -lsybcs_r -lsybtcl_r -lsybcomn_r -lsybintl_r -lsybblk_r
LDLOADLIBS = -L/Applications/Sybase/System/OCS-12_5/lib -lsybsrv_r  
-lsybct_r -lsybcs_r -lsybtcl_r -lsybcomn_r -lsybintl_r -lsybblk_r -ldl  

I tried to understand how Makefile.PL was generating these entries, but  
I am not that fluent in perl.(!!) It looks like sybsrv_r was  
inadvertently excluded from the list of required libraries though.

Good Luck!


On Feb 4, 2005, at 1:06 PM, Calder, Erick wrote:

> Chuck,
> I had the same problem a while back and never went back to figure it
> out.  in which way did you correct the _PATH (what did you add/change)?
> dould you post the actual entry you made into the makefile for the sake
> of others?
> thanks - erick
> -----Original Message-----
> From: Charles Phares []
> Sent: Friday, February 04, 2005 11:08 AM
> To:
> Subject: Re: Failing make...
> OK.  So I corrected my DYLD_LIBRARY_PATH variable, and added sybsrv_r
> to the library lists where other sybase libraries were in the make
> file, and it made with out issue.
> -Chuck
> On Feb 3, 2005, at 12:03 PM, Charles Phares wrote:
>> Greetings All!
>> I am having trouble building DBD-Sybase on Mac OS X 10.3.7.  I am
>> running Sybase ASE 12.5.3 & perl 5.8.1-RC3.  DBI built with no
>> problems.
>> Make is failing with the following message:
>> ld: warning can't open dynamic library: libsybsrv_r.dylib (checking
>> for undefined symbols may be affected) (No such file or directory,
>> errno = 2)
>> DYLD_LIBRARY=/Applications/Sybase/System/OCS-12_5/lib:/Applications/
>> Sybase/System/ASE-12_5/lib
>> and if I search in this path, I find the libsybsrv_r.dylib file.  I'm
>> stumped!  :)
>> Attempting to run make tests returns many many failures.
>> Any ideas?
>> Cheers!
>> -Chuck
> **********************************************************************
> E-mail sent through the Internet is not secure. Western Asset  
> therefore recommends that you do not send any confidential or  
> sensitive information to us via electronic mail, including social  
> security numbers, account numbers, or personal identification numbers.  
> Delivery, and or timely delivery of Internet mail is not guaranteed.  
> Western Asset therefore recommends that you do not send time sensitive  
> or action-oriented messages to us via electronic mail.
> **********************************************************************