Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldconfig fails to correctly link libib_util.so [CORE373] #715

Closed
firebird-automations opened this issue Feb 25, 2004 · 13 comments
Closed

ldconfig fails to correctly link libib_util.so [CORE373] #715

firebird-automations opened this issue Feb 25, 2004 · 13 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: blueraven (blueraven)

SFID: 904270#⁠
Submitted By: blueraven

I installed FirebirdSS-1.5.0.4290 from RPM on Fedora Core 1.
Installation was fine, but now, everytime I try installing other
packages, I get this error:

ldconfig: Can't link /usr/lib/../gen/firebird/lib/libib_util.so to
libib_util.so

Problem seems to be in /opt/firebird/lib/libib_util.so: in fact, the
symlink set up in /usr/lib is correctly pointing to it and, if I try to
remove the symlink and launch ldconfig, the error disappears.
I tried searching on Google and in existing bug reports, but no one
seems to have this problem.

@firebird-automations
Copy link
Collaborator Author

Commented by: Alice F. Bird (firebirds)

Date: 2004-11-18 21:35
Sender: skidder
Logged In: YES
user_id=495356

The problem was fixed in Firebird 1.5.1

@firebird-automations
Copy link
Collaborator Author

Commented by: Alice F. Bird (firebirds)

Date: 2004-07-10 19:42
Sender: michbak
Logged In: YES
user_id=1080919

I have spent few hours today tracing this problem.
Here is the solution for 1.5.0.4290:

Edit file: builds/posix/Makefile.in.extlib
Change line:
$(LIBIBUTIL_SO): LINK_PROD=$(LIBIBUTIL_SO)
to:
$(LIBIBUTIL_SO): LINK_PROD=$(IbUtilLibraryName)

Run http://autogen.sh again. If you don't want to run configration
again, you can change this line directly in gen/Makefile.extlib
file. Then run make of course.

@firebird-automations
Copy link
Collaborator Author

Commented by: Alice F. Bird (firebirds)

Date: 2004-04-09 02:01
Sender: skidder
Logged In: YES
user_id=495356

Issue is not present for HEAD builds.

I fixed this build issue (wrong soname) in B1_5_Release
branch, this fix will be a part of 1.5.1 release.

@firebird-automations
Copy link
Collaborator Author

Commented by: Alice F. Bird (firebirds)

Date: 2004-03-25 09:24
Sender: kennyz
Logged In: YES
user_id=189287

Any easy way to reproduce this:

Remove /usr/lib/libib_util.so (symbolic link).
Add /opt/firebird/lib to your /etc/ld.so.conf file.
Run "ldconfig".
You will get an error message:

ldconfig: Can't link
/opt/firebird/lib/../gen/firebird/lib/libib_util.so to
libib_util.so

This clearly indicates that there is a problem with
libib_util.so, even before trying to link to it from other
programs.

@firebird-automations
Copy link
Collaborator Author

Commented by: Alice F. Bird (firebirds)

Date: 2004-03-25 09:20
Sender: kennyz
Logged In: YES
user_id=189287

There is definitely a problem with the file
/opt/firebird/lib/libib_util.so. It appears to have a
reference to ../gen/firebird/lib/libib_util.so. Of course,
this reference does not link anywhere.

This causes other programs that are trying to link with
libib_util.so to fail during the link process.

I'm surprised a fix has not already been released for this.
It seems like it would affect everyone.

@firebird-automations
Copy link
Collaborator Author

Commented by: Alice F. Bird (firebirds)

Date: 2004-03-23 00:09
Sender: keidson
Logged In: YES
user_id=216412

i have this problem too... and what you say it's true, if
you remove de symlink the message stops. i have tried to
direct insert the /opt/firebird/lib directory in ld.so.conf
and then run ldconfig, but the message starts to show again...

if you find a solution please tell me...

@firebird-automations
Copy link
Collaborator Author

Commented by: Alice F. Bird (firebirds)

Date: 2004-03-04 16:12
Sender: sasmi
Logged In: YES
user_id=990430

Same problem with debian 2.6.2-1-686 and FirebirdSS-
1.5.0.4290-0.i686.tar.gz

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Closed [ 6 ] => Reopened [ 4 ]

assignee: Dmitry Yemanov [ dimitr ]

SF_ID: 904270 =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Reopened [ 4 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

SF_ID: 904270 =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

SF_ID: 904270 =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 10397 ] => Firebird [ 14655 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Cannot be tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants