Re: Failing make...

Charles Phares <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
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:

DYLD_LIBRARY_PATH=/Applications/Sybase/System/OCS-12_5/lib:/ 
Applications/Sybase/System/ASE-12_5/lib

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  
-lm

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!

-Chuck


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 [mailto:[email protected]]
> Sent: Friday, February 04, 2005 11:08 AM
> To: [email protected]
> 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)
>>
>> my DYLD_LIBRARY_PATH is:
>>
>> 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.
> **********************************************************************
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.