Bug 112486 - libesmtp - missing symlink in /usr/lib
Summary: libesmtp - missing symlink in /usr/lib
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libesmtp
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-12-20 20:54 UTC by Jonathan Underwood
Modified: 2014-03-17 02:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-12-21 06:31:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jonathan Underwood 2003-12-20 20:54:04 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031114

Description of problem:
There is a missing symlink in /usr/lib which prevents linking against
libesmtp.

Fixed with the following in /usr/lib
ln -s libesmtp.so.5.1.2 libesmtp.so



Version-Release number of selected component (if applicable):
libesmtp-1.0.1-1 (rpm)

How reproducible:
Always

Steps to Reproduce:
1.gcc -lesmtp
2.
3.
    

Actual Results:  Linking fails (ld error)

Expected Results:  linking should work

Additional info:

Comment 1 Kaj J. Niemi 2003-12-21 02:27:47 UTC
You sure you installed libesmtp-devel? libesmtp.so is provided by it.

% rpm -qa libesmtp\*
libesmtp-1.0.1-1

% gcc -lesmtp
/usr/bin/ld: cannot find -lesmtp
collect2: ld returned 1 exit status

% sudo rpm -ivh libesmtp-devel-1.0.1-1.i386.rpm

% rpm -qa libesmtp\*
libesmtp-1.0.1-1
libesmtp-devel-1.0.1-1

% gcc -lesmtp
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../crt1.o(.text+0x18):
In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status

% rpm -qlpv libesmtp-devel-1.0.1-1.i386.rpm
-rw-r--r--    1 root    root             3654 Oct  3 23:53
/usr/include/auth-client.h
-rw-r--r--    1 root    root             2210 Oct  3 23:53
/usr/include/auth-plugin.h
-rw-r--r--    1 root    root            10627 Oct  3 23:53
/usr/include/libesmtp.h
-rw-r--r--    1 root    root            83622 Oct  3 23:53
/usr/lib/libesmtp.a
lrwxrwxrwx    1 root    root               17 Oct  3 23:53
/usr/lib/libesmtp.so -> libesmtp.so.5.1.2




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