Bug 1625507 - Removal of libpthread_nonshared.a breaks installation of Oracle Database
Summary: Removal of libpthread_nonshared.a breaks installation of Oracle Database
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1614439 1654309 2164489
TreeView+ depends on / blocked
 
Reported: 2018-09-05 05:40 UTC by Carlos O'Donell
Modified: 2023-01-25 15:28 UTC (History)
11 users (show)

Fixed In Version: glibc-2.28-10.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2164489 (view as bug list)
Environment:
Last Closed: 2018-11-07 08:06:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Sourceware 23500 0 P2 NEW Removal of libpthread_nonshared.a breaks installation of Oracle Database 2021-01-19 18:50:05 UTC

Description Carlos O'Donell 2018-09-05 05:40:17 UTC
The relinking step as part of the Oracle Database installation assumes that a libpthread_nonshared.a library exists.  Apparently, it doesn't use -lpthread as it should, and instead links against the individual files expected to be in the libpthread linker script.

We should add a workaround to F29 for this by including an empty libpthread_nonshared.a in a compat subpackage.

Failure during Oracle install looks like this:
/usr/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/ora/db/
/ora/db/bin/genclntsh
/usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a
genclntsh: Failed to link libclntshcore.so.12.1

This affects Oracle 12cR2.

Comment 1 Carlos O'Donell 2018-09-05 07:34:41 UTC
F29 build with fix (glibc-2.28-10.fc29):
https://koji.fedoraproject.org/koji/taskinfo?taskID=29494174

Rawhide build with fix (glibc-2.28.9000-5.fc30):
https://koji.fedoraproject.org/koji/taskinfo?taskID=29494170

Comment 2 Carlos O'Donell 2018-09-05 07:35:35 UTC
The fix is to provide a compat-libpthread-nonshared subpackage with the right *.a in the right place. This way Oracle install instructions can say to just install this package.

Comment 3 Asa Welle 2018-11-03 02:50:46 UTC
Please provide instructions on how I can get this fix. I've added the updates repo and installed "dnf update glibmm24.x86_64", but that didn't work. Where is it bundled? Need it to install the Oracle database. Thank you!

Comment 4 Fedora Update System 2018-11-03 07:01:16 UTC
glibc-2.28-17.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0e5874aba9

Comment 5 Fedora Update System 2018-11-04 06:38:38 UTC
glibc-2.28-17.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-0e5874aba9

Comment 6 Asa Welle 2018-11-04 13:41:46 UTC
That worked for me. Oracle Database installed now.

Comment 7 Florian Weimer 2018-11-04 13:55:44 UTC
(In reply to Asa Welle from comment #6)
> That worked for me. Oracle Database installed now.

Great.  Thank you so much for testing Oracle Database on Fedora.  We need more such third-party software testing.

Comment 8 Fedora Update System 2018-11-07 02:40:54 UTC
glibc-2.28-17.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.