On Jun 9, 2006, at 2:27 AM, camokid wrote:

> mr-fusion:/opt mrfusion$ sudo -u postgres81 createdb test
> dyld: Library not loaded: /usr/local/pgsql/lib/libpq.4.dylib
>   Referenced from: /opt/pgsql/bin/createdb
>   Reason: image not found
> Trace/BPT trap


Looks like you have some configuration problems. Your createdb  
program is in /opt/pgsql/bin/, but is looking for a lib in /usr/local/ 
pgsql. I would bet that the missing lib is in /opt/pgsql/lib.

Most likely you missed a setting in ./configure, which may have  
happened if you autoinstalled using Darwin ports. I'd check the  
README to see if there are any settings you overlooked. Also google  
for information about compiling postgres on macosx.

You could also go into the psql interpreter and type "create database  
test;" This does the same thing as the createdb program.

I'd suggest deleting everything and reinstalling, or use the  
prepackaged installer I mentioned before. Even if you don't use the  
pre-packaged installer, take a look at the entropy site as it has  
some information about compiling postgres.

http://www.entropy.ch/software/macosx/postgresql/

Don



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to