Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2000 21:15:42 -0600 (CST)
From:      sean-freebsd@farley.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22562: Installing port chops minor numbers off of shared libraries
Message-ID:  <200011030315.eA33FgM04134@thor.farley.org>

next in thread | raw e-mail | index | archive | help

>Number:         22562
>Category:       ports
>Synopsis:       Installing port chops minor numbers off of shared libraries
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 02 19:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Sean C. Farley
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
>Environment:

FreeBSD 4.1.1-STABLE i386

>Description:

I have posted this twice to freebsd-ports without any resolution.

I am currently testing out my first port, and I have a problem.  It seems
that the shared libraries being installed are using the following syntax:
libfoo.so.x.y
libbar.so.x.y

This gives me no problem for the install but during uninstall the port
complains about missing files such as:
libfoo.so.x
libbar.so.x

I then noticed that the +CONTENTS file did not have the minor numbers
on the libraries.  This lead me to believe that the port system is
unable to handle minor numbers during install.

Why is the install chopping off those minor version numbers.  Nothing in
the Porter's Handbook (http://www.freebsd.org/porters-handbook/) explains
on how to handle this situation.  I am given the impression from a link
in the general Handbook that ELF ignores the minor number which might be
the root of my problem, yet I have discovered that ldconfig has no
difficulty with the libraries.

libgsi.so.0.1
libgsicd.so.0.1
libgsif.so.0.1
libgsimidi_pcm.so.2.0
libgsimixer.so.0.1
libgsipcm.so.0.1
libgsisynth.so.0.1

>How-To-Repeat:

Install a port with shared libraries having minor numbers.  Look at the 
+CONTENTS file.  The shared libraries have the minor numbers removed.

BTW, if this turns out to be a user error and the minor number needs to
be removed before installation, I would recommend reclassifying this bug
as a documentation bug.  This is assuming it is not mentioned somewhere I
overlooked.  :)

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011030315.eA33FgM04134>