Bug 246815 - libYap.so is missing from the %files section
libYap.so is missing from the %files section
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: yap (Show other bugs)
7
All Linux
medium Severity medium
: ---
: ---
Assigned To: Gérard Milmeister
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-05 02:55 EDT by Roberto Bagnara
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-07-06 10:36:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Roberto Bagnara 2007-07-05 02:55:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Description of problem:
Here is the %files section of the SPEC file:

%files devel
%defattr(-,root,root,-)
%{_prefix}/lib/libYap.a
%{_includedir}/Yap

As you can see, there is no mention of libYap.so.  This makes it impossible to use YAP's foreign language interface using dynamic linking.


Version-Release number of selected component (if applicable):
yap-5.1.1-3

How reproducible:
Always


Steps to Reproduce:
Try, e.g., to use the foreign language interface on an x86_64 machine with dynamic linking.  Since libYap.so cannot be found, libYap.sa will be used with the following result:

/usr/bin/ld: /usr/lib/libYap.a(c_interface.o): relocation R_X86_64_32S against `Yap_REGS' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libYap.a: could not read symbols: Bad value


Actual Results:


Expected Results:


Additional info:
Comment 1 Gérard Milmeister 2007-07-05 04:52:43 EDT
Please build this:
http://math.ifi.unizh.ch/fedora/tmp/yap-5.1.1-4.fc7.src.rpm
on a x86_64 (I don't have a x86_64 to try on) and report
back.
Comment 2 Roberto Bagnara 2007-07-05 06:28:09 EDT
It works!

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