Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: atrpms: users

ld.so.conf and NVidia RPMs

 

 

atrpms users RSS feed   Index | Next | Previous | View Threaded


fpikus at gmail

Mar 7, 2009, 6:14 PM

Post #1 of 3 (853 views)
Permalink
ld.so.conf and NVidia RPMs

I run a 64-bit F10 system, but I install both 64-bit and 32-bit
versions of NVidia libraries (most games are 32-bit). It works fine,
but every time I upgrade NVidia RPMs I have to edit /etc/ld/so.conf,
copy the new line for /usr/lib64 library and make it /usr/lib. Is it
possible for both lines to be created automatically by the
post-install scripts, like the /usr/lib64 line is created now?

Fedor

--
Fedor G Pikus (fpikus [at] gmail)
http://www.pikus.net
http://wild-light.com

_______________________________________________
atrpms-users mailing list
atrpms-users [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-users


Axel.Thimm at ATrpms

Mar 8, 2009, 3:32 AM

Post #2 of 3 (779 views)
Permalink
Re: ld.so.conf and NVidia RPMs [In reply to]

On Sat, Mar 07, 2009 at 06:14:50PM -0800, Fedor Pikus wrote:
> I run a 64-bit F10 system, but I install both 64-bit and 32-bit
> versions of NVidia libraries (most games are 32-bit). It works fine,
> but every time I upgrade NVidia RPMs I have to edit /etc/ld/so.conf,
> copy the new line for /usr/lib64 library and make it /usr/lib. Is it
> possible for both lines to be created automatically by the
> post-install scripts, like the /usr/lib64 line is created now?

Good catch, or put in another way: It's a bug!

Actually it involves more layers when I start thinking about
it. What is nvidia-graphics-select supposed to do when there are
versions A, B, C installed for 64bits and D, E, F for 32 bits?

Looks like it needs some redesign/rethinking. Maybe the very least
will be to assume that for every 32 bit nvidia lib installed there
will be a 64 bit equivalent. Unfortunately this can't be enforced
package-wise.
--
Axel.Thimm at ATrpms.net


fpikus at gmail

Mar 8, 2009, 1:07 PM

Post #3 of 3 (784 views)
Permalink
Re: ld.so.conf and NVidia RPMs [In reply to]

On Sun, Mar 8, 2009 at 3:32 AM, Axel Thimm <Axel.Thimm [at] atrpms> wrote:
> On Sat, Mar 07, 2009 at 06:14:50PM -0800, Fedor Pikus wrote:
>> I run a 64-bit F10 system, but I install both 64-bit and 32-bit
>> versions of NVidia libraries (most games are 32-bit). It works fine,
>> but every time I upgrade NVidia RPMs I have to edit /etc/ld/so.conf,
>> copy the new line for /usr/lib64 library and make it /usr/lib. Is it
>> possible for both lines to be created automatically by the
>> post-install scripts, like the /usr/lib64 line is created now?
>
> Good catch, or put in another way: It's a bug!
>
> Actually it involves more layers when I start thinking about
> it. What is nvidia-graphics-select supposed to do when there are
> versions A, B, C installed for 64bits and D, E, F for 32 bits?

Since it takes only one version argument, it can't handle this
situation. So I'd say it should create all possible lines (32bit,
64bit, or both), for the version you specified.

>
> Looks like it needs some redesign/rethinking. Maybe the very least
> will be to assume that for every 32 bit nvidia lib installed there
> will be a 64 bit equivalent. Unfortunately this can't be enforced
> package-wise.
> --
> Axel.Thimm at ATrpms.net
>



--
Fedor G Pikus (fpikus [at] gmail)
http://www.pikus.net
http://wild-light.com

_______________________________________________
atrpms-users mailing list
atrpms-users [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-users

atrpms users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.