ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activetcl
activetcl
[Activetcl] problems with oratcl?
by Larry W. Virden other posts by this author
Dec 13 2007 5:06AM messages near this date
view in the new Beta List Site
Re: [Activetcl] teacup questions | Re: [Activetcl] problems with oratcl?
Okay, I run:
$ /tmp/.lwv/ActiveTcl-8.5/bin/tclsh
% puts $auto_path
tory/package/solaris2.6-sparc/lib /tmp/.lwv/teapot/repository/package/tcl/lib

As you can see, only teapot related directories are listed.
I then type:
% package require Oratcl
Oratcl_Init(): Failed to load /vol/ora_client/product/10.2.0.2/lib/libclntsh.so with error l
d.so.1: tclsh8.5: fatal: /vol/ora_client/product/10.2.0.2/lib/libclntsh.so: wrong ELF class:
 ELFCLASS64

The issue is this - oracle defaults to a 64 bit shared library. ActiveTcl 8.5
on SPARC is not compiled for 64 bit.

What needs to happen, when building oratcl, is that somehow you have to 
point to the 32 bit set of libraries (which are in an auxilary 
directory) or you need to build activetcl sparc as 64 bit.
-- 
Tcl - The glue of a new generation.  <URL: http://wiki.tcl.tk/ > 
Larry W. Virden <mailto:lvirden@[...].org> <URL: http://www.purl.org/NET/lvirden/ >
Even if explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-> <-
_______________________________________________
ActiveTcl mailing list
ActiveTcl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Larry W. Virden
Christophe De Clercq
Larry W. Virden
Jeff Hobbs

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved