Re: Installing Oracle Client 10g on FreeBSD

Vladimir Terziev <[email protected]> Mon, 16 Oct 2006 17:18:41 +0300
Newsgroups gmane.os.freebsd.devel.database,gmane.os.freebsd.questions
Organization GB Services Ltd.
Message-ID <[email protected]>
	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.

		Vladimir


On Mon, 16 Oct 2006 08:55:45 -0500
"Scott T. Hildreth" <[email protected]> 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 [email protected].
> > 
> > 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
> > _______________________________________________
> > [email protected] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-database
> > To unsubscribe, send any mail to "[email protected]"
> -- 
> Scott T. Hildreth <[email protected]>
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-database
> To unsubscribe, send any mail to "[email protected]"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-database
To unsubscribe, send any mail to "[email protected]"