curious as to what ObjectiveC says about using ld without compiling?
http://developer.apple.com/mac/library/documentation/DeveloperTools/gcc-4.2.1/gcc/

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> Date: Fri, 25 Sep 2009 12:28:08 -0400
> Subject: Install issues. Os/x 10.5 and DBD-Oracle-1.23
> From: [email protected]
> To: [email protected]
> 
> I am trying to install DBD::Oracle on my mac and I¹m having issues with the
> make test.  But I think the issues begin earlier.
> 
> Mac os/x 10.5.8 (intel)
> DBD-Oracle-1.23
> 
> environment:  (note this is the full blown oracle server 10G for mac; not
> just instant client.  Sqlplus etc work fine.)
> DYLD_LIBRARY_PATH=/Users/oracle/product/10.2.0/db_1/lib
> LD_LIBRARY_PATH=/Users/oracle/product/10.2.0/db_1/lib:/Users/oracle/product/
> 10.2.0/db_1
> ORACLE_BASE=/Users/oracle
> ORACLE_HOME=/Users/oracle/product/10.2.0/db_1
> PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/oracle
> /product/10.2.0/db_1/lib:/Users/oracle/product/10.2.0/db_1/bin:/Users/jdanil
> 000/ssh:/usr/local/mysql/bin:/Users/jdanil000/bin
> TNS_ADMIN=/Users/oracle/product/10.2.0/db_1/network/admin
> 
>  perl Makefile.PL seems normal.  No errors and no warnings.
> 
> make returns the following warnings.  I think this is the root of my issues
> but don¹t know how to resolve:
> 
> ld warning: in /Users/oracle/product/10.2.0/db_1/lib//libclntsh.dylib, file
> is not of required architecture
> ld warning: in /Users/oracle/product/10.2.0/db_1/lib//libclntsh.dylib, file
> is not of required architecture
> 
> 
> And then make test fails pretty miserably:
> 
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/01base................# Test loading DBI, DBD::Oracle and version
> t/01base................ok 1/6
> #   Failed test 'install_driver'
> #   in t/01base.t at line 22.
> Failed to load Oracle extension and/or shared libraries:
> install_driver(Oracle) failed: Can't load
> '/var/root/.cpan/build/DBD-Oracle-1.23/blib/arch/auto/DBD/Oracle/Oracle.bund
> le' for module DBD::Oracle:
> dlopen(/var/root/.cpan/build/DBD-Oracle-1.23/blib/arch/auto/DBD/Oracle/Oracl
> e.bundle, 2): Symbol not found: _OCIAttrGet
>   Referenced from: 
> /var/root/.cpan/build/DBD-Oracle-1.23/blib/arch/auto/DBD/Oracle/Oracle.bundl
> e
>   Expected in: dynamic lookup
>  at (eval 7) line 3
> Compilation failed in require at (eval 7) line 3.
> Perhaps a required shared library or dll isn't installed where expected
>  at t/01base.t line 19
> The remaining tests will probably also fail with the same error.
> <truncated many failing tests....>
> 
> I¹ve tried several, but not all, of the various hacks around for getting
> DBD::Oracle working on mac os/x but so far none that I¹ve tried have helped.
> Any assistance, clues, or good wishes are welcome.
> 
> John.
> 
> 
> John Danilson
> Comcast
> 12801 Worldgate Dr.
> Herndon, VA 20170
> 
> aim: jtdanilson
> (work) 703.939.8027
> (blackberry) 703.659.5415
> (fax) 703.939.8001
> (cell) 703.615.4997
> (home) 703.883.1139
> 
> 
                                          
_________________________________________________________________
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290

Reply via email to