Bug 759034

Summary: lksctp_tools package does not contain /usr/lib64/libsctp.so symlink
Product: Red Hat Enterprise Linux 6 Reporter: Stanislav Kozina <skozina>
Component: lksctp-toolsAssignee: Jan Safranek <jsafrane>
Status: CLOSED WORKSFORME QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: mhomolov
Target Milestone: rc   
Target Release: 6.3   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-02 14:36:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Stanislav Kozina 2011-12-01 10:01:37 UTC
Description of problem:

After installation of lksctp-tools, this command still fails:

$ gcc   s.c   -o s -DLINUX -lsctp
/usr/bin/ld: cannot find -lsctp
collect2: ld returned 1 exit status

I had to create the symlink manually:
$ ln -s /usr/lib64/libsctp.so.1.0.10 /usr/lib64/libsctp.so
$ gcc   s.c   -o s -DLINUX -lsctp
$

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

lksctp-tools.x86_64 1.0.10-5.el6

How reproducible:

Always.

Steps to Reproduce:
1. Install lksctp-tools.x86_64-1.0.10-5.el6
2. Compile any binary, "hello world" is fine.
3. Try to link it with '-lsctp' library.
  
Actual results:

/usr/bin/ld: cannot find -lsctp
collect2: ld returned 1 exit status

Expected results:

Linkage succeeds.

Additional info:

Comment 1 Jan Safranek 2011-12-02 14:16:11 UTC
/usr/lib64/libsctp.so is in lksctp-tools-devel subpackage, available in RHEL optional repository.

Do you have this package installed?

Comment 2 Jan Safranek 2011-12-02 14:36:27 UTC
Closed after an IRC consultation with the reporter, lksctp-tools-devel was missing