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
Re: [Activetcl] problems with oratcl?
by Christophe De Clercq other posts by this author
Dec 13 2007 6:31AM messages near this date
view in the new Beta List Site
[Activetcl] problems with oratcl? | Re: [Activetcl] problems with oratcl?
I use the environment var. (oratcl specific):
# For 32 bit tcl on 64 bit solaris with 64 bit oracle.
export ORACLE_LIBRARY=$ORACLE_HOME/lib32/libclntsh.so


----- Original Message ----
From: "Virden, Larry W." <lvirden@[...].org> 
To: activetcl@[...].com
Sent: Thursday, 13 December, 2007 2:05:44 PM
Subject: [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 ld.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





      ___________________________________________________________
Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotio
ns.yahoo.com/forgood/
_______________________________________________
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