Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2006 10:47:36 -0500
From:      "Scott T. Hildreth" <shildreth@allantgroup.com>
To:        Vladimir Terziev <vlady@gbservices.biz>
Cc:        freebsd-database@freebsd.org, corwin@aeternal.net, Damian Wiest <dwiest@vailsys.com>, freebsd-questions@freebsd.org
Subject:   Re: Installing Oracle Client 10g on FreeBSD
Message-ID:  <1161013656.52932.301.camel@scotth.emsphone.com>
In-Reply-To: <20061016171841.d569ea5e.vlady@gbservices.biz>
References:  <20060711162744.A22592@malcolm.berkeley.edu> <452C09B6.4030009@pobox.sk> <20061010220934.GA1484@dfwdamian.vail> <1160524816.70546.287.camel@fbsd1.dyndns.org> <4531FFCD.8040607@aeternal.net> <1161006945.52932.293.camel@scotth.emsphone.com> <20061016171841.d569ea5e.vlady@gbservices.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2006-10-16 at 17:18 +0300, Vladimir Terziev wrote:
> 	I'm also interested of mixing native FreeBSD libraries and Linux once, if it's possible ...
> 
> 	I tryed to install a DBD::Oracle module with natively build FreeBSD perl and Linux Oracle Instantclient. After some hacking of DBD::Oracle's make file, i managed to build native Oracle.so linked against Instantclient's libcltnsh.so library.
> 
> 	When i tryed "use DBD::Oracle" in a perl script i got "Segmentation fault".
> 	I don't think it's possible to intermix native FreeBSD libraries and Linux once used by a native FreeBSD executable.

          I didn't either, but I am going to try. :-)

          Martin, how did you do this?


> 
> 		Vladimir
> 
> 
> On Mon, 16 Oct 2006 08:55:45 -0500
> "Scott T. Hildreth" <shildret@scotth.emsphone.com> wrote:
> 
> > On Sun, 2006-10-15 at 11:30 +0200, Martin Hudec wrote:
> > > Hello,
> > > 
> > > Scott T. Hildreth wrote:
> > > >    He can't, DBD::Oracle uses oci underneath so he needs the Oracle client to get the shared 
> > > >    libraries.   Mike you also need to compile or install a linux perl and then install DBI & DBD::Oracle
> > > >    with the linux perl.  You could use DBD::Proxy instead of installing DBD::Oracle.  It installed
> > > >     with DBI.  Type 'perldoc DBD::Proxy' to see the docs.  If you need help, you can email me 
> > > >    or join the dbi-users@perl.org.
> > > 
> > > Not fully correct - when I wanted to use DBD::Oracle, I did not need to 
> > > install linux-perl - just instantclient (linux compatibility enabled) as 
> > > Martinko mentioned. And it worked. And DBD::Oracle has been used with 
> > > native perl.
> > 
> >   Interesting, I have not used the instantclient.  I always have a full 
> >   Oracle install, since I need the database.  I will try that, 
> >   DBD::Oracle must not be linking with the libcltnsh.so.
> > 
> > 
> > > 
> > > 
> > > Martin
> > > _______________________________________________
> > > freebsd-database@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-database
> > > To unsubscribe, send any mail to "freebsd-database-unsubscribe@freebsd.org"
> > -- 
> > Scott T. Hildreth <shildret@scotth.emsphone.com>
> > _______________________________________________
> > freebsd-database@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-database
> > To unsubscribe, send any mail to "freebsd-database-unsubscribe@freebsd.org"
-- 
Scott T. Hildreth <shildreth@allantgroup.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1161013656.52932.301.camel>