Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Error Including Libraries...

Quote Reply
Error Including Libraries...
Forgive this post. I have searched posts, tried switching things around, file permissions, uploaded in ASCII, double checked, etc. but I'm still unable to get this going. I have a little experience editing files with other Gossamer program installations but am no programming/perl expert by any means. I would appreciate any help. I've just installed Links 2.0 and I'm getting this error when trying to run admin cgi:
Error including libraries: Can't locate /home/myname/myname.com/cgi-bin/links/admin/db.pl at admin.cgi line 28. Make sure they exist, permissions are set properly, and paths are set correctly.

Originally I had the cgi-bin inside the links directory, now I've got the links directory in the cgi-bin. Still doesn't work. The path to perl is /usr/bin/perl so I assume the line in the cgi files #!/usr/bin/perl is correct, yes? It's probably something really simple (forgive me - I'm ancient and my eyes are getting blurry) but I'm missing it. Not sure if I'm to be posting actual site names, etc. so I'm using "myname" in their place. I'll post the real directory names if needed.

Here is my links.cfg file.
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/myname/myname.com/cgi-bin/links/admin";
$db_dir_url = "http://www.myname.com/cgi-bin/links/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.myname.com/cgi-bin/links";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/myname/myname.com/links/pages";
$build_root_url = "http://www.myname.com/links/pages";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "$build_root_path/New";
$build_new_url = "$build_root_url/New";
# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "$build_root_path/Cool";
$build_cool_url = "$build_root_url/Cool";
# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$build_root_path/Ratings";
$build_ratings_url = "$build_root_url/Ratings";

Thanks so much!
Nadine
Quote Reply
Re: [Westiegirl] Error Including Libraries... In reply to
I FOUND it! It was something simple that my blurry eyes missed. So sorry for the post.
Please feel free to delete the thread. If I would, I could. Thanks again!
Nadine

Last edited by:

Westiegirl: Aug 24, 2004, 2:13 PM