Hi Jeff

Oh! shi...!!! :-)

I had forgotten that 
(http://openacs.org/forums/message-view?message_id=118559#118559).

Now I have the same issue posted some time ago 
(http://www.mail-archive.com/aolserver-talk@lists.sourceforge.net/msg00198.html)
 
but it worked (I copy nspostgres.so to aolserver installation)

Thanks so much!!
Cesáreo

El 17/noviembre/12 00:46, Jeff Rogers escribió:
> Try using nspostgres off sourceforge - that appears to be the most
> recent version.
>
> Alternately, add nsdb to the libraries to link against in the makefile.
>
> -J
>
>
> Cesáreo García Rodicio wrote:
>> Hi Jim
>>
>> I had already tried but ...
>>
>>   > make AOLSERVER=/usr/local/aolserver ACS=1 POSTGRES=PG_CONFIG
>> PG_CONFIG=/usr/local/pgsql/bin/pg_config
>>
>> "
>>
>> ...
>> /usr/local/aolserver/bin/tclsh8.5 /usr/local/aolserver/bin/nsremove.tcl
>> nspostgres.so
>> gcc -bundle -pipe    -o nspostgres.so nspostgres.o
>> -L/usr/local/pgsql/lib -lpq -L. -lnspostgres -L/usr/local/aolserver/lib
>> -lnsd -lnsthread -L/usr/local/aolserver/lib -ltcl8.5   -lpthread
>> -framework CoreFoundation
>> Undefined symbols for architecture x86_64:
>>     "_Ns_Db0or1Row", referenced from:
>>         _PgBindCmd in nspostgres.o
>>     "_Ns_Db1Row", referenced from:
>> ....
>>
>> "
>>
>> Thanks for your answer !
>>
>> Regards
>> Cesáreo
>>
>> El 16/noviembre/12 19:21, Jim escribió:
>>> Hi,
>>>
>>> I added some stuff to the build system that might help you: Later
>>> versions of postgres have an information-supplying executable called
>>> pg_config. This program can tell other programs where they can find
>>> everything of that particular build of pg.
>>>
>>> Information about how you can use it are in the README and the
>>> Makefile, and I'll also quote it here:
>>>
>>> See the Makefile for further information on building this module.
>>>
>>> Note additions to build system (made in 2007):
>>>
>>>     make POSTGRES=SEPARATELY PGINC=... PGLIB=...
>>>     make POSTGRES=PG_CONFIG
>>>     make POSTGRES=PG_CONFIG PG_CONFIG=/path/to/pg_config
>>>
>>> NOTE NOTE NOTE!! As of aolserver-4.5.x, the variable INST is used for
>>> a different purpose than it used to be, so DO NOT set it to the
>>> installation
>>> dir!! (Also you shouldn't change it unless you discover its new purpose,
>>> which I don't remember at this moment)
>>>
>>> Cesáreo,
>>>
>>> Looking at the last invocation of make you tried, you should try this:
>>>
>>> make AOLSERVER=/usr/local/aolserver ACS=1 POSTGRES=PG_CONFIG
>>> PG_CONFIG=/usr/local/pgsql/bin/pg_config
>>>
>>> -Jim
>>>
>>> On 11/16/12, Cesáreo García Rodicio <cesa...@cesareox.com> wrote:
>>>> Hi
>>>>
>>>> I'm trying to build nspostgres from github repositories in Mac OS X
>>>> Mountain Lion.
>>>>
>>>> I do:
>>>>
>>>>     > make AOLSERVER=/usr/local/aolserver ACS=1
>>>> POSTGRES=/usr/local/pgsql
>>>>
>>>> But I had some errors:
>>>> "
>>>>     Undefined symbols for architecture x86_64:
>>>>      "_Ns_Db0or1Row", referenced from:
>>>>          _PgBindCmd in nspostgres.o
>>>>      "_Ns_Db1Row", referenced from:
>>>>          _PgBindCmd in nspostgres.o
>>>>     ....
>>>>
>>>> "
>>>>
>>>> I did some googling and I found this
>>>> (http://stackoverflow.com/questions/1757509/precompiled-headers-and-compiling-universal-objects-on-osx)
>>>>
>>>>
>>>> but I'm not sure if it is related.
>>>>
>>>> Any clue?
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>> Monitor your physical, virtual and cloud infrastructure from a single
>>>> web console. Get in-depth insight into apps, servers, databases,
>>>> vmware,
>>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>>>> Pricing starts from $795 for 25 servers or applications!
>>>> http://p.sf.net/sfu/zoho_dev2dev_nov
>>>> _______________________________________________
>>>> aolserver-talk mailing list
>>>> aolserver-talk@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/aolserver-talk
>>>>
>>
>> ------------------------------------------------------------------------------
>>
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov
>> _______________________________________________
>> aolserver-talk mailing list
>> aolserver-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/aolserver-talk
>>
>

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
aolserver-talk mailing list
aolserver-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-talk

Reply via email to