Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
loading oratcl from starkit

Posted by sergioanis (sergioanis), 17 March 2008
hi everybody:

I'm having some problems loading oratcl from a starkit. I found a post from G. Lester advicing to use the following script in the package index:

package ifneeded Oratcl 4.4  [ list OraLoad $dir ]
proc OraLoad { dir } {
global env
foreach file [ glob $dir/*.dll ] {
catch {  file copy  -force $file [ file join $env(TEMP) [ file tail $file ]
]  }
}
catch { file copy  -force $dir/msvcr70.dll [ file join [ file dirname [ infonameofexecutable ]] msvcr70.dll ] }
load $env(TEMP)/oratcl44.dll
}


This works fine in some computers (running windows 2000), but fail in
anothers (windows 2000 and xp). The script fail when it try to load the
oratcl44.dll, the error message doesn't say why.  I tried adding the
$env(TEMP)to the $env(PATH) without success.

I'd appreciate any suggestions you may have.

Thanks,
Sergio


Posted by admin (Graham Ellis), 18 March 2008
on 03/17/08 at 18:32:19, sergioanis wrote:
The script fail when it try to load the
oratcl44.dll, the error message doesn't say why.

I'd appreciate any suggestions you may have.



I don't know - and I think this is a very specialist question that's not likely to find and answer here. However, even if you feel that the error message isn't useful, someone might - so please tell us what is says / how it fails.  You're witholding a vital piece of evidence!


Posted by sergioanis (sergioanis), 20 March 2008
hi,
the error message says: "error loading oratcl" I tried to put some catch there, but for some reason the catch is ignored (I guess that is another proc generating the error, and I don't have access to it)

Anyway, somebody gave me a hint: the computers where it fails don't have oracle client installed. So, I'm searching for the libraries that I need to add to make it work. So far, I have the oratcl loaded but I can't sign into the database. I just need to keep trying.

thanks for your interest.
Sergio



This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho