Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: Compiling oratcl needs library libtclstub8.4.12.a

From: redhat <redhat(at)r71.nl>
Date: Mon Sep 17 2007 - 10:28:27 EDT

Oh my gosh.. I think it works...

  • configure command ./configure --prefix=/quovadx/qdx5.5/integrator/tcl --exec-prefix=/quovadx/qdx5.5/integrator/tcl --with-tcl=/quovadx/qdx5.5/integrator/tcl/lib --with-tclinclude=/quovadx/qdx5.5/integrator/tcl/include --with-oracle-directory=/usr/lib/oracle/10.2.0.3/client
  • editing the Makefile: SHLIB_LD_LIBS = ${LIBS} -L/quovadx/qdx5.5/integrator/tcl/lib -ltclstub8.4
  • environment settings I added to the user: export ORACLE_HOME=/usr/lib/oracle/10.2.0.3/client/ export ORACLE_LIBRARY=/usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1 export LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.3/client/lib:$LD_LIBRARY_PATH
  • as root: # ln -s /usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1 /usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so
  • as the user that runs the scripts: $ hcitcl hcitcl>package ifneede Oratcl 4.4 load /quovadx/qdx5.5/integrator/tcl/lib/Oratcl4.4/libOratcl4.4.so hcitcl>package require Oratcl 4.4 hcitcl>package present Oratcl 4.4

The script I want to run still doesn't work, but I think that is another issue that I have to sort out with the scriptdevelopper.

> On Tue, 11 Sep 2007 19:13:27 +0200, redhat  wrote:

>> I first added a question in the oratcl sourceforge group, I was told to
> go

>> to the mailgroups of RH to ask about the whereabouts of
> libtclstub8.4.12.a

>> in the RHEL4.5 version. (I'm not a person who compiles often)
>>

>> This is what I found in the makefile (I didn't add it, it was allready
>> there):
>> SHLIB_LD_LIBS = ${LIBS}
>> -L/quovadx/qdx5.5/integrator/tcl/integrator/tcl/lib -ltclstub8.4.12
>>

>> Is this what you mean?
>>

>> On Tue, 11 Sep 2007 12:43:17 -0400, "Virden, Larry W." <lvirden@cas.org>
>> wrote:
>>> Sounds like the configure isn't generating the Makefile correctly. Edit
>>> the makefile and add a -L/path/to/the/library to the step that is
>>> creating the oratcl library and see if that fixes things.
>>>
>>> Also, submit a bug report at oratcl.sf.net .
>>>
>>> Oh, have you tried the very latest version of oratcl to see if that
>>> displays the same problem?
>>>
>>>
>>> --
>>> http://wiki.tcl.tk/ >
>>> Even if explicitly stated to the contrary, nothing in this posting
>>> should be construed as representing my employer's opinions.
>>> lvirden(at)gmail.com > http://www.purl.org/NET/lvirden/
>>>>
>>>
>>>
>>> -----Original Message-----
>>> From: redhat-list-bounces@redhat.com
>>> [mailto:redhat-list-bounces@redhat.com] On Behalf Of redhat
>>> Sent: Tuesday, September 11, 2007 12:00 PM
>>> To: General Red Hat Linux discussion list
>>> Subject: RE: Compiling oratcl needs library libtclstub8.4.12.a
>>>
>>>
>>> Thanks for the reply!
>>>
>>> I tried the following command using the suggestions. After a 'make'
>>> command I still got the same result:
>>>
>>> $ ./configure --prefix=/quovadx/qdx5.5/integrator/tcl
>>> --exec-prefix=/quovadx/qdx5.5/integrator/tcl
>>> --with-tcl=/quovadx/qdx5.5/integrator/tcl/lib
>>> --with-tclinclude=/quovadx/qdx5.5/integrator/tcl/include/
>>> ...
>>> checking for dlfcn.h... (cached) yes
>>> configure: creating ./config.status
>>> config.status: creating Makefile
>>>
>>> $ make
>>> ...
>>> /usr/bin/ld: cannot find -ltclstub8.4.12
>>> collect2: ld returned 1 exit status
>>> make: *** [libOratcl4.4.so] Error 1
>>>
>>>
>>>
>>>
>>>
>>> On Tue, 11 Sep 2007 08:35:19 -0400, "Virden, Larry W."
> 
>>> wrote:
>>>> You say "The application uses it's own tcl version installed in the
Do you need help?X
>>>> application directory" - if that is the case, then the problem is that >>> >>>> you are going to need to use the --with-tcl= configure argument. Look >>>> in the directory where the application installs its tcl and find the >>>> directory containing the file tclConfig.sh. That's the value you type >>>> after the = sign. >>>> >>>> Note that you may also need to use the --with-tclinclude= argument, >>>> giving the directory where the application has installed the tcl.h >>>> header as well. >>>> >>>> >>>> -- >>>> http://wiki.tcl.tk/ > >>>> Even if explicitly stated to the contrary, nothing in this posting >>>> should be construed as representing my employer's opinions. >>>> >>> http://www.purl.org/NET/lvirden/ >>>>> >>>> >>>> >>>> -----Original Message----- >>>> From: redhat-list-bounces@redhat.com >>>> [mailto:redhat-list-bounces@redhat.com] On Behalf Of Roderick >>>> Sent: Monday, September 10, 2007 5:05 PM >>>> To: General Red Hat Linux discussion list >>>> Subject: Compiling oratcl needs library libtclstub8.4.12.a >>>> >>>> Hello, >>>> I'm trying to compile and install the open source oratcl 4.4 extension >>> >>>> (for tcl) on my RHEL 4.5 server. I really need this package installed >>>> to connect the application to Oracle. The application uses it's own >>>> tcl version installed in the application directory. I got problems to >>>> compile the library. I get this message: >>>> >>>> $ ./configure --enable-gcc --prefix=/quovadx/qdx5.5/integrator/tcl >>>> --exec-prefix=/quovadx/qdx5.5/integrator/tcl >>>> ...seems to be working allright.... >>>> >>>> $ make >>>> gcc -pipe -DPACKAGE_NAME=\"Oratcl\" >>>> .... >>>> -L/quovadx/qdx5.5/integrator/tcl/integrator/tcl/lib -ltclstub8.4.12 >>>> /usr/bin/ld: cannot find -ltclstub8.4.12
Do you need more help?X
>>>> collect2: ld returned 1 exit status >>>> make: *** [libOratcl4.4.so] Error 1 >>>> >>>> I got a libtclstub8.4.a somewhere in the applications tcl directory. >>>> Is someone able to help me?? (I'n not an expert on Linux, but I know a >>> >>>> little). >>>> >>>> -- >>>> redhat-list mailing list >>>> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe >>>> https://www.redhat.com/mailman/listinfo/redhat-list >>>> >>>> -- >>>> redhat-list mailing list >>>> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe >>>> https://www.redhat.com/mailman/listinfo/redhat-list >>> >>> -- >>> redhat-list mailing list >>> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe >>> https://www.redhat.com/mailman/listinfo/redhat-list >>> >>> -- >>> redhat-list mailing list >>> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe >>> https://www.redhat.com/mailman/listinfo/redhat-list
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Received on Mon Sep 17 10:28:57 2007

This archive was generated by hypermail 2.1.8 : Wed Oct 10 2007 - 00:41:02 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library