19327 nvidia-driver-96 installation fails - libGL.so.1: Not a directory - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old September 5th, 2012, 04:33
Trihexagonal's Avatar
Trihexagonal Trihexagonal is offline
Member
 
Join Date: Mar 2012
Posts: 156
Thanks: 19
Thanked 18 Times in 12 Posts
Default nvidia-driver-96 installation fails - libGL.so.1: Not a directory

I'm rebuilding my desktop installation of FreeBSD 9.0-RELEASE from the same USB image I've used dozens of times and ran into a problem I've never encountered before or have been able remedy by myself.

My Nvidia GeForce3 card uses the older /x11/nvidia-driver-96 and I've installed it though ports and had it running like it should several times before without a hitch but this time it failed. I attempted to have portmaster install it but get the following error:

Code:
Checking if /x11/driver-96 already installed
src (install)
install -o root -g wheel -m 555 nvidia.ko /boot/modules
kldxref /boot/modules
lib (install)
lib/libGL (install)

rm: /usr/local/lib/.nvidia/libGL.so.1: Not a directory

Stop in /usr/ports/x11/nvidia/-driver-96/work/NVIDIA-FreeBSD-x86-96.43.20/lib/libGL.
***Error code 1***

Stop in /usr/ports/x11/nvidia/-driver-96/work/NVIDIA-FreeBSD-x86-96.43.20/lib.
***Error code 1***

Stop in /usr/ports/x11/nvidia/-driver-96/work/NVIDIA-FreeBSD-x86-96.43.20.
***Error code 1***

Stop in /usr/ports/x11/nvidia/-driver-96.
***Error code 1***

Stop in /usr/ports/x11/nvidia/-driver-96.

Installation of nvidia-driver-96.43.20_1 (nvidia-driver-96) failed
Aborting update

Terminated

You can restart from the point of failure with this command line:
portmaster (flags) /x11/nvidia-driver-96
I had portmaster reinstall libGL and tried letting it install the driver but got the same error.

The first time this happened I thought I might have just got a bad build so I reformatted, installed portupgrade, portaudit, portmaster, xorg and let portmaster install the nvidia driver from the start but got the same message. I tried having it use the package but that didn't work either, though I'm not that versed in portmaster or packages. Installing it though ports without using portmaster gives the same error, minus the reference to portmaster.

I've got linux_base-f10, linux-f10-dri, /x11/nvidia-settings, /x11/nvidia-xconfig installed already and could probably go with the generic nv driver but that won't get my graphics card working like it should to play games.

Ports is the only thing I've ever used so I'm familiar with it and I've successfully installed FreeBSD on this machine numerous times but am unable to find a way to get past this error. I've been messing with it now for 2 days, have tried everything I can think of, and done a search for similar problems but am unable to resolve it myself or I wouldn't post about it. I'd appreciate any help that could be provided to assist me in getting this sorted out.

TIA

Last edited by Trihexagonal; September 5th, 2012 at 05:40.
Reply With Quote
  #2  
Old September 5th, 2012, 07:54
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,852
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

Quote:
Originally Posted by Trihexagonal View Post
rm: /usr/local/lib/.nvidia/libGL.so.1: Not a directory
That's weird. The directory /usr/local/lib/.nvidia/ shouldn't even exist. Try creating it, see if that satisfies the ports system.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old September 5th, 2012, 09:21
Trihexagonal's Avatar
Trihexagonal Trihexagonal is offline
Member
 
Join Date: Mar 2012
Posts: 156
Thanks: 19
Thanked 18 Times in 12 Posts
Default

I made that directory and tried it again but got the same error.

I've tried rebuilding gmake and everything else I could think of but am at a standstill. I'd try a FreeBSD 8.3 or 9.1RC build but at this point I don't think it would make any difference as I've already reformatted 9.0 once. It must be something to do with one of the ports (and my ports tree is current) as I'm using the same USB image I always do, but I don't know enough about it to pin it down.
Reply With Quote
  #4  
Old September 5th, 2012, 09:41
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,852
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

Ah, I see the port was updated 4 days ago. And they've been mucking about with the installation. The new pkgng has a problem with this port and they tried to solve it. Apparently not correctly.

Try contacting the port's maintainer.

http://www.freebsd.org/cgi/cvsweb.cg...river/Makefile
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
Trihexagonal (September 6th, 2012)
  #5  
Old September 5th, 2012, 10:23
Trihexagonal's Avatar
Trihexagonal Trihexagonal is offline
Member
 
Join Date: Mar 2012
Posts: 156
Thanks: 19
Thanked 18 Times in 12 Posts
Default

I was just going to log back in to say installing the regular nvidia-driver came back with the same error when I saw your message.

I sent him an email. Thanks a lot.
Reply With Quote
  #6  
Old September 6th, 2012, 03:18
numpad5 numpad5 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 35
Thanks: 0
Thanked 2 Times in 2 Posts
Default

It was my belief that most of the old legacy Geforce cards like the 96 driver works for have no support for newer Xorg, as in, the last time I had my Geforce 6 working with official drivers was FreeBSD 7.2 :<
Reply With Quote
  #7  
Old September 6th, 2012, 04:28
Trihexagonal's Avatar
Trihexagonal Trihexagonal is offline
Member
 
Join Date: Mar 2012
Posts: 156
Thanks: 19
Thanked 18 Times in 12 Posts
Default

I've had my GeForce3 card working properly on my FreeBSD 9.0-RELEASE box using the nvidia-driver-96 and played Quake3, Unreal, UFOAI, and several other games using it as recently as a couple weeks ago.

I got this message running dmesg and is what clued me in to it needing the old driver to run:
Code:
NVRM: The NVIDIA GeForce3 GPU installed in this system is
NVRM:  supported through the NVIDIA 96.43.xx Legacy drivers. Please
NVRM:  visit http://www.nvidia.com/object/unix.html for more
NVRM:  information.  The 295.49 NVIDIA driver will ignore
NVRM:  this GPU.  Continuing probe...
I had to load the Nvidia module through /boot/default/loader.conf first to get it to work or put out that message.

Last edited by SirDice; September 6th, 2012 at 07:30. Reason: Read about formatting tags: http://forums.freebsd.org/misc.php?do=bbcode
Reply With Quote
  #8  
Old September 6th, 2012, 07:29
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,852
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

Quote:
Originally Posted by numpad5 View Post
the last time I had my Geforce 6 working with official drivers was FreeBSD 7.2 :<
My 7600GT works fine with the latest Xorg and FreeBSD 9-STABLE.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #9  
Old September 11th, 2012, 04:28
numpad5 numpad5 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 35
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by SirDice View Post
My 7600GT works fine with the latest Xorg and FreeBSD 9-STABLE.
7600GT runs on 96 legacy drivers? Thought that was a much newer card than a GeForce 6 series (pci in mine but most are agp)

Even when I had it running on FreeBSD 7.x I had to remove some version checks from the makefiles to get it to install.

When 8.x came out I thought they just totally dropped all the old legacy stuff from 96 drivers by not updating code to work with new Xorg releases.

Here is link to the reference I found back then:

http://us.download.nvidia.com/freebs...ppendix-b.html

If it has been fixed its news to me.

EDIT:

Of course, it has been a while since I tried it
Reply With Quote
  #10  
Old September 11th, 2012, 09:56
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,852
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

Quote:
Originally Posted by numpad5 View Post
7600GT runs on 96 legacy drivers?
I didn't say that. I'm using 302.17.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #11  
Old September 11th, 2012, 15:20
numpad5 numpad5 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 35
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Ah, sorry. I just thought that since the thread was specifically on 96 legacy you had it working.
Reply With Quote
  #12  
Old September 11th, 2012, 16:07
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,852
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

All versions of the nvidia-driver use the same Makefile. So an installation problem with one version is very likely to pop up in all versions.

And as far as I know even the legacy 96.x version supports the latest Xorg.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #13  
Old September 11th, 2012, 23:51
numpad5 numpad5 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 35
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I might have to try it on the computer I put my GeForce 6 in then, it is currently running Win XP, but dual booting won't be too hard, since I haven't allocated all the disk space yet. I've been wanting to get back into FreeBSD on that machine anyhow, just using it for various gaming needs right now, It's an old Gigabyte dual 32 bit cpu board with max allowed 4gb ram from about 2004 that the card is in right now.
Reply With Quote
  #14  
Old September 12th, 2012, 13:12
gerardhg gerardhg is offline
Junior Member
 
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Install problems have been fixed. I had to delete the file /usr/local/lib/.nvidia before upgrading to nvidia-driver-96.43.20_2
Reply With Quote
  #15  
Old September 12th, 2012, 13:27
Trihexagonal's Avatar
Trihexagonal Trihexagonal is offline
Member
 
Join Date: Mar 2012
Posts: 156
Thanks: 19
Thanked 18 Times in 12 Posts
Default

Quote:
Originally Posted by gerardhg View Post
Install problems have been fixed. I had to delete the file /usr/local/lib/.nvidia before upgrading to nvidia-driver-96.43.20_2
I just got a letter back from the Maintainer:

Quote:
Hello, should be fixed in r304131.

./danfe
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] FreeBSD 9-STABLE hangs with nvidia-driver on Nvidia GT 555M mamalos Mobile Computing 18 September 23rd, 2012 13:37
nvidia driver trucker Multimedia 4 December 4th, 2011 01:37
NVIDIA 5200 - new nvidia driver can't install t4z3v4r3d X.Org 3 December 26th, 2009 21:03
[Solved] Nvidia driver on 8.0? plamaiziere X.Org 15 October 18th, 2009 15:11
x64 nvidia driver cuongvt X.Org 11 August 31st, 2009 13:07


All times are GMT +1. The time now is 06:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0