From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16613 invoked from network); 8 Mar 1999 02:13:58 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Mar 1999 02:13:58 -0000 Received: from naur.csee.wvu.edu (naur.csee.wvu.edu [157.182.194.28]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id VAA01469 for ; Sun, 7 Mar 1999 21:08:17 -0500 Received: (from dfrasnel@localhost) by naur.csee.wvu.edu (8.9.0/8.9.0) id VAA05681; Sun, 7 Mar 1999 21:08:14 -0500 (EST) Date: Sun, 7 Mar 1999 21:08:13 -0500 From: "Daniel J. Frasnelli" To: axp-list@redhat.com Cc: "Daniel J. Frasnelli" Subject: Re: mpg123 diff (Re: mpg123 rpms, need testing) Message-ID: <19990307210813.B24949@csee.wvu.edu> References: <19990307145558.R4936@csee.wvu.edu> <199903080153.SAA24872@ellpspace.math.ualberta.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199903080153.SAA24872@ellpspace.math.ualberta.ca>; from Michal Jaegermann on Sun, Mar 07, 1999 at 06:53:39PM -0700 > Shudder!!! Don't hardwire location of libraries that way in Makefiles. > This is **stupid**! You will find yourself why in not so distant > future. Uhm... there are instances where you want to specify the absolute path of a static library, as you will find out in the not so distant future. > First of all your compiler, nearly certainly, searches /usr/local/lib > so -lcpml would be just great. The second, if /usr/local/lib is > not searched by a compiler (not bloody likely) you can always ask > for that using -L option. I have two versions of libcpml on my system, one static and one shared. Both are located in /usr/local/lib/. Peter also has the same situation. The shared libcpml has some 'issues', as I'm sure you are aware. As mentioned in my message, this patch was sent to Peter, so he could compile mpg123 linked against a static libcpml. There are some cflags/ldopt(?) parameters I could set to get around this, but my assumption is that Pete does not have the same setup on his end. You need to read closely and consider before jumping all over someone. I've only been hacking around with Un*x since 1992, so perhaps you may consider me a 'newbie' or something. Regards, Daniel --