From owner-freebsd-ports Thu Nov 2 19:20: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A58B737B4CF for ; Thu, 2 Nov 2000 19:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA95621; Thu, 2 Nov 2000 19:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from farley.org (farley.org [216.140.158.72]) by hub.freebsd.org (Postfix) with ESMTP id E252337B479 for ; Thu, 2 Nov 2000 19:15:49 -0800 (PST) Received: from thor.farley.org ([192.168.1.5]) by farley.org with esmtp (Exim 3.03 #1) id 13rXKR-00019M-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 02 Nov 2000 21:15:43 -0600 Received: (from sean@localhost) by thor.farley.org (8.11.1/8.11.1) id eA33FgM04134; Thu, 2 Nov 2000 21:15:42 -0600 (CST) (envelope-from sean) Message-Id: <200011030315.eA33FgM04134@thor.farley.org> Date: Thu, 2 Nov 2000 21:15:42 -0600 (CST) From: sean-freebsd@farley.org Reply-To: sean-freebsd@farley.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/22562: Installing port chops minor numbers off of shared libraries Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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