ADDED: Could be a 32-bit/64-bit mismatch -- I am 64-bit, and trying to build a 32-bit app because I've heard tell (and have had some other issues) with the 64-bit stuff (like sqlplus hasn't worked for me as a 64-bit app). So that might be a hint to the core problem, but I'm not sure...
---
Hi,
Trying to do an install, read some posts from PerlMonks (like
here ), but ultimately followed instructions I found at
stackoverflow
Ultimately, I because of some funniness with DYLD_LIBRARY_PATH, I believe, I had to go in and become root to do this (per the stackoverflow instructions). However, at the end, when I try a DBI->connect call, i get:
dyld: lazy symbol binding failed: Symbol not found: _OCIAttrSet
Referenced from: /Library/Perl/5.12/darwin-thread-multi-2level/auto/
+DBD/Oracle/Oracle.bundle
Expected in: flat namespace
dyld: Symbol not found: _OCIAttrSet
Referenced from: /Library/Perl/5.12/darwin-thread-multi-2level/auto/
+DBD/Oracle/Oracle.bundle
Expected in: flat namespace
I think those symbols should be defined in libclntsh.dylib, and I think i have that set up right:
mpettis@MAC-162-MPETTIS:/Applications/instantclient_11_2
$ ll
total 357376
...
lrwxr-xr-x 1 root staff 53B Oct 9 15:08 libclntsh.dylib -> /
+Applications/instantclient_11_2/libclntsh.dylib.11.1
...
But it is not being read. Those warnings also come up when I am doing the manual 'make' command as recommended in the stackoverflow link, but it presses on.
Any advice? I'm totally lost as to why symbols aren't being seen...
Thanks in advance,
Matt
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.