Compiling oratcl needs library libtclstub8.4.12.a

Virden, Larry W. lvirden at cas.org
Tue Sep 11 16:43:17 UTC 2007


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?


-- 
<URL: http://wiki.tcl.tk/ >
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.
<URL: mailto:lvirden at gmail.com > <URL: http://www.purl.org/NET/lvirden/
>
 

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at 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." <lvirden at cas.org>
wrote:
> You say "The application uses it's own tcl version installed in the 
> 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.
> 
> 
> --
> <URL: http://wiki.tcl.tk/ >
> Even if explicitly stated to the contrary, nothing in this posting 
> should be construed as representing my employer's opinions.
> <URL: mailto:lvirden at gmail.com > <URL: 
> http://www.purl.org/NET/lvirden/
>>
> 
> 
> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at 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
> 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 at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list