/sw/lib/libcurl.2.dylib to /usr/lib/??? (terminal...???)
Ok, I'm trying to move a library from a fink folder to an invisible folder.
(because Fink didn't do it for me
)
I've looked in the /usr/lib folder with terminal (cd, ls) and found that the library wasn't there.
I need this to get the BZFlag 2.0.2 to work on Mac os 10.2
Because libcurl doesn't come with 10.2
I did do a compile of BZFlag 2.0.2 from source and it works fine... but you need libcurl to use a special type of banning, and MOTD... Message of the day
I also want to make a file that people execute from terminal that does everything for them;
apt-get install curl
sudo ...Move libcurl.2.dylib to /usr/lib
I don't know what to name it though. (get202.command???)
so how do I create a file that terminal will execute.
so I just create this file and people download fink and BZFlag and my script will do the rest like "apt-get install curl, and the move to /usr/lib" and for rotation on BZFlag games.......
Thanks!
(because Fink didn't do it for me
)I've looked in the /usr/lib folder with terminal (cd, ls) and found that the library wasn't there.
I need this to get the BZFlag 2.0.2 to work on Mac os 10.2
Because libcurl doesn't come with 10.2
I did do a compile of BZFlag 2.0.2 from source and it works fine... but you need libcurl to use a special type of banning, and MOTD... Message of the day
I also want to make a file that people execute from terminal that does everything for them;
apt-get install curl
sudo ...Move libcurl.2.dylib to /usr/lib
I don't know what to name it though. (get202.command???)
so how do I create a file that terminal will execute.
so I just create this file and people download fink and BZFlag and my script will do the rest like "apt-get install curl, and the move to /usr/lib" and for rotation on BZFlag games.......
Thanks!
Global warming is caused by hobos and mooses
Last I checked curl was installed by default on Macs (?) At least, I've never had to install it. But if you must distribute it, it would probably make more sense to distribute the binaries since most people won't have Fink installed anyways. To directly answer your question, give the file an extension of .command and ensure that its executable bit is set (chmod a+x filename.command)
Or, you could simply extend your library search path to include /sw/lib along with the rest. I thought that Fink did that for you, though.
Or, you could simply extend your library search path to include /sw/lib along with the rest. I thought that Fink did that for you, though.
Did you ever wonder why we had to run for shelter when the promise of a brave new world unfurled beneath the clear blue sky?
Quote:Last I checked curl was installed by default on Macs (?)Only on Panther.
Quote:I've never had to install it. But if you must distribute it, it would probably make more sense to distribute the binaries...DUH! why didn't I think of that...
(...It could be against curl TOS...)
Quote:you could simply extend your library search path to include /sw/lib along with the rest.First, I don't know how to do that...
Second, I ran BZFlag 2.0.2 by terminal. (because bzflag server (bzfs), and bzadmin must be ran from terminal)
it says it can't find libcurl.2.dylib in /usr/lib/
Quote:give the file an extension of .command and ensure that its executable bit is set (chmod a+x filename.command)Ok, so it is .command.
Ok, so is there anyway to move libcurl2 to /usr/lib/
(like instead of something like mkdir, something like movefile......)
I'm pretty sure the sudo command is a "give priviliges" type command for doing stuff in "system" files...???
Global warming is caused by hobos and mooses
BinarySpike Wrote:Only on Panther.
I'm in Tiger and it works for me. Or are you running <= Jaguar?
Sorry, I forgot Tiger...
10.3 and up are the only ones that have libcurl pre-installed...
10.3 and up are the only ones that have libcurl pre-installed...
Global warming is caused by hobos and mooses
mv will move or rename files, if that is what you are looking for. And yes, sudo will give you temporary root privileges.
Did you ever wonder why we had to run for shelter when the promise of a brave new world unfurled beneath the clear blue sky?
You should not move it to /usr/lib though - you should leave that untouched whenever possible, because it's a "system" directory.
What you should do is create a symbolic link from /usr/lib to /sw/lib
sudo ln -s /sw/lib/libcurl.2.dylib /usr/lib/libcurl.2.dylib
Wade
What you should do is create a symbolic link from /usr/lib to /sw/lib
sudo ln -s /sw/lib/libcurl.2.dylib /usr/lib/libcurl.2.dylib
Wade
Ok, does this "symbolic link" have any effects I should be aware of???
How do I make this "symoblic link" go away.
I'm building a .command file that basicly installs libcurl...
(and I want an un-installer just in case...)
So, one last question:
Does apt-get come with fink? or is that with the system???
How do I make this "symoblic link" go away.
I'm building a .command file that basicly installs libcurl...
(and I want an un-installer just in case...)
So, one last question:
Does apt-get come with fink? or is that with the system???
Global warming is caused by hobos and mooses
It behaves much as a normal file would. You can remove it much as a normal file, with rm.
Apt-get is the debian installer utility, in this case distributed with Fink. It is in no way part of the base system.
Apt-get is the debian installer utility, in this case distributed with Fink. It is in no way part of the base system.
Did you ever wonder why we had to run for shelter when the promise of a brave new world unfurled beneath the clear blue sky?
Why not do a google search on "unix symbolic link"?
apt-get is a part of fink.
Wade
apt-get is a part of fink.
Wade
Thank's guys!!!
I accedently "sybolicly linked" libssl with libcurl
Now I have to go through and delete them all...
I accedently "sybolicly linked" libssl with libcurl

Now I have to go through and delete them all...
Global warming is caused by hobos and mooses
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Dylib problem | ugriffin | 2 | 3,574 |
Apr 20, 2011 05:28 PM Last Post: ugriffin |
|
| Cocoa fundamentals - the message loop in a dylib | bumperman | 5 | 5,088 |
Nov 8, 2009 11:17 AM Last Post: OneSadCookie |
|
| XCode or Terminal? | Eeyore | 41 | 13,233 |
Jan 2, 2008 01:13 PM Last Post: wyrmmage |
|
| Help! Build failing on libcurl | GolfHacker | 7 | 4,925 |
Nov 3, 2007 08:03 PM Last Post: GolfHacker |
|
| how to debug a dylib? | sakiel | 1 | 3,387 |
Aug 16, 2007 07:26 PM Last Post: OneSadCookie |
|

