Bug 759034 - lksctp_tools package does not contain /usr/lib64/libsctp.so symlink
Summary: lksctp_tools package does not contain /usr/lib64/libsctp.so symlink
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: lksctp-tools
Version: 6.1
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: 6.3
Assignee: Jan Safranek
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-01 10:01 UTC by Stanislav Kozina
Modified: 2013-03-04 01:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-02 14:36:27 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


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