[Vienna-pm] Perl & Oracle & Linux = Alptraeume

Peter J. Holzer hjp-vienna-pm-list at hjp.at
Mon Jun 4 08:08:52 PDT 2007


On 2007-06-04 16:48:01 +0200, Bernd Petrovitsch wrote:
> On Mon, 2007-06-04 at 15:59 +0200, nagy wrote:
> > root>make
> > rm -f blib/arch/auto/DBD/Oracle/Oracle.so
> > gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
> > -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib Oracle.o
> > dbdimp.o oci8.o  -o blib/arch/auto/DBD/Oracle/Oracle.so         \
> >            -L/usr/lib/oracle/current/client/lib
> > -L/root/.cpan/build/DBD-Oracle-1.19/../.. -locci -lclntsh -lpthread
> > \
> >           
> > /usr/bin/ld: cannot find -locci
> > collect2: ld gab 1 als Ende-Status zurück
> > make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Fehler 1
> > 
> > ---------------------------- 8< -------------------------------
> >  
> > eine suche ergibt, dass im build verzeichnis kein occi zu finden ist.
> > so jetzt weiss ich nicht mehr weiter...
> 
> `locate libocci` oder `find / -name 'libocci*' sollte etwas finden, adß
> mit .so aufhört. Das Directory dann auch in den LD_LIBRARY_PATH packen
> (oder in /etc/ld.so.conf).
> 
> BTW hört sihc "occi" nach Oracle an ....

Oracle steht ja auch im Subject :-).

Ja eine libocci.so gibt es in der Standard-Installation von Oracle 9.2
und 10g in $ORACLE_HOME/lib. Ob die beim instantclient auch dabei ist,
weiß ich nicht, mit dem habe ich keine Erfahrung. Wenn es sie gibt,
sollte sie wohl in /usr/lib/oracle/current/client/lib liegen, wo auch
libclntsh.so herumliegt. Wenn die nicht dort ist, fehlt entweder noch
was, oder man braucht sie nicht (eventuell einfach mal -locci
weglassen).

	hp

-- 
   _  | Peter J. Holzer    | I know I'd be respectful of a pirate 
|_|_) | Sysadmin WSR       | with an emu on his shoulder.
| |   | hjp at hjp.at         |
__/   | http://www.hjp.at/ |	-- Sam in "Freefall"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.pm.org/pipermail/vienna-pm/attachments/20070604/d5b376b8/attachment.bin 


More information about the Vienna-pm mailing list