This is the mail archive of the
insight-prs@sources.redhat.com
mailing list for the Insight project.
insight/141: shared libraries build pb: unable to link gdb/insight with already installed tk/tcl
- From: rjvbertin at hotmail dot com
- To: insight-gnats at sources dot redhat dot com
- Date: 6 May 2002 18:26:21 -0000
- Subject: insight/141: shared libraries build pb: unable to link gdb/insight with already installed tk/tcl
- Reply-to: rjvbertin at hotmail dot com
>Number: 141
>Category: insight
>Synopsis: shared libraries build pb: unable to link gdb/insight with already installed tk/tcl
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 06 11:33:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: R.J.V. Bertin
>Release: 5.1.1
>Organization:
>Environment:
Linux Mandrake 6.1
>Description:
In the default build, gdb/insight is huge, and installs a considerable number of static libraries (that itself was linked against). There is very little installation/configuration information. The configure command understands the --enable-shared flag, and will generate shared libraries instead of static. The size of the resulting gdb is hardly smaller, and it is not linked against the system tk/tcl libs.
When I force that to happen, ide_initialize_paths claims it can't find the TCL library in a path that I don't know how to modify.
Also, the make terminates because
ranlib libitk3.0.so
ranlib: libitk3.0.so: File format not recognized
(running it again succesfully completes the build).
>How-To-Repeat:
configure --enable-shared
make
# after the ranlib error
make
ls -l gdb/gdb
>Fix:
Yes, please, fix it!
>Release-Note:
>Audit-Trail:
>Unformatted: