[OGo-MacOSX] PostgreSQL bundle fails to build with SOPE 4.5

Tabitha McNerney macosx@opengroupware.org
Fri, 18 Nov 2005 01:52:52 -1000


------=_Part_3781_21382021.1132314772169
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello all,

Thans to Helge I think I now have the correct mailing list to post some OS =
X
specific questions for OGo.

On an Xserve running OS X Tiger Server (10.4.2), attempting to "make all"
for SOPE 4.5 (alpha, checked out from the trunk about 24 hours ago),
configure seems to work just fine as the last several lines show up like
this:

creating: /Users/tm/SOPE-4.5/config.make
> optional library found: xml2
> optional library found: ldap
> required library found: ssl
> optional library found: pq
> optional library found: sqlite3
> optional library found: mysqlclient
> configuring NGStreams library .... done (log in config-NGStreams.log).


When I next try to "make all", a lot of stuff seems to go well but I
something breaks with the attempt to build the PostreSQL bundle. The sectio=
n
of output is below. Any ideas why this might be? Would it be better to stic=
k
with SOPE 4.4?

The version of PostgreSQL that I have installed is 7.4.9 (as a Darwin Port)=
.
The shared object libraries and headers are all available in:

/opt/local/lib/postgresql
/opt/local/include/postgresql
/opt/local/include/postgresql/postgres_ext.h

I'm very new to OGo and SOPE and not much of a configure / make guru, but i=
f
there is anything I can do to help the community in an effort to improve
this process, please let me know as I would be pleased to help in any way I
can.

Best regards,

Tabitha

Note: regarding ld:

$ ld -v
> Apple Computer, Inc. version cctools-576.obj~23
>

 Making all in PostgreSQL...
> Making all for bundle PostgreSQL...
> Compiling file common.h ...
> Creating PostgreSQL.gdladaptor/Contents/MacOS...
> Compiling file PGConnection.m ...
> Compiling file PostgreSQL72Expression.m ...
> Compiling file PostgreSQL72Adaptor.m ...
> Compiling file PostgreSQL72Context.m ...
> Compiling file PostgreSQL72Channel.m ...
> Compiling file PostgreSQL72Channel+Model.m ...
> Compiling file PostgreSQL72Exception.m ...
> Compiling file PostgreSQL72Values.m ...
> Compiling file NSString+PostgreSQL72.m ...
> Compiling file EOAttribute+PostgreSQL72.m ...
> Compiling file NSString+PGVal.m ...
> Compiling file NSData+PGVal.m ...
> Compiling file NSCalendarDate+PGVal.m ...
> Compiling file NSNumber+PGVal.m ...
> Linking bundle PostgreSQL ...
> /usr/bin/ld: Undefined symbols:
> _SSL_pending
> _BIO_free
> _BIO_new_mem_buf
> _DH_check
> _DH_generate_parameters
> _DH_size
> _ERR_get_error
> _ERR_reason_error_string
> _EVP_PKEY_free
> _PEM_read_DHparams
> _PEM_read_PrivateKey
> _PEM_read_X509
> _PEM_read_bio_DHparams
> _SSL_CTX_ctrl
> _SSL_CTX_free
> _SSL_CTX_load_verify_locations
> _SSL_CTX_new
> _SSL_CTX_set_tmp_dh_callback
> _SSL_CTX_set_verify
> _SSL_CTX_set_verify_depth
> _SSL_connect
> _SSL_free
> _SSL_get_error
> _SSL_get_ex_data
> _SSL_get_peer_certificate
> _SSL_library_init
> _SSL_load_error_strings
> _SSL_new
> _SSL_read
> _SSL_set_ex_data
> _SSL_set_fd
> _SSL_shutdown
> _SSL_write
> _TLSv1_method
> _X509_NAME_get_text_by_NID
> _X509_NAME_oneline
> _X509_check_private_key
> _X509_free
> _X509_get_subject_name
> collect2: ld returned 1 exit status
> make[3]: *** [PostgreSQL.gdladaptor/Contents/MacOS/PostgreSQL] Error 1
> make[2]: *** [PostgreSQL.all.bundle.variables] Error 2
> make[1]: *** [internal-all] Error 2
> make: *** [internal-all] Error 2
>

------=_Part_3781_21382021.1132314772169
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello all,<br>
<br>
Thans to Helge I think I now have the correct mailing list to post some OS =
X specific questions for OGo.<br>
<br>
On an Xserve running OS X Tiger Server (10.4.2), attempting to &quot;make
all&quot; for SOPE 4.5 (alpha, checked out from the trunk about 24 hours
ago),&nbsp; configure seems to work just fine as&nbsp; the last several
lines show up like this:<br>
<br>
<blockquote style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt=
 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">creating: /Users/=
tm/SOPE-4.5/config.make<br>
optional library found: xml2<br>
optional library found: ldap<br>
required library found: ssl<br>
optional library found: pq<br>
optional library found: sqlite3<br>
optional library found: mysqlclient<br>
configuring NGStreams library .... done (log in config-NGStreams.log).</blo=
ckquote>
<div><br>
When I next try to &quot;make all&quot;, a lot of stuff seems to go well bu=
t I
something breaks with the attempt to build the PostreSQL bundle. The
section of output is below. Any ideas why this might be? Would it be
better to stick with SOPE 4.4? <br>
<br>
The version of PostgreSQL that I have installed is 7.4.9 (as a Darwin
Port). The shared object libraries and headers are all available in:<br>
<br>
<span style=3D"font-weight: bold;">/opt/local/lib/postgresql</span><br styl=
e=3D"font-weight: bold;">
<span style=3D"font-weight: bold;">/opt/local/include/postgresql</span><br =
style=3D"font-weight: bold;">
<span style=3D"font-weight: bold;">/opt/local/include/postgresql/postgres_e=
xt.h</span><br>
<br>
I'm very new to OGo and SOPE and not much of a configure / make guru,
but if there is anything I can do to help the community in an effort to
improve this process, please let me know as I would be pleased to help
in any way I can.<br>
<br>
Best regards,<br>
<br>
Tabitha<br>
</div><br>
Note: regarding ld:<br>
<br>
<blockquote style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt=
 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">$ ld -v<br>

Apple Computer, Inc. version cctools-576.obj~23<br>
</blockquote>

<br>
<blockquote style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt=
 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">
Making all in PostgreSQL...<br>

Making all for bundle PostgreSQL...<br>

&nbsp;Compiling file common.h ...<br>

&nbsp;Creating PostgreSQL.gdladaptor/Contents/MacOS...<br>

&nbsp;Compiling file PGConnection.m ...<br>

&nbsp;Compiling file PostgreSQL72Expression.m ...<br>

&nbsp;Compiling file PostgreSQL72Adaptor.m ...<br>

&nbsp;Compiling file PostgreSQL72Context.m ...<br>

&nbsp;Compiling file PostgreSQL72Channel.m ...<br>

&nbsp;Compiling file PostgreSQL72Channel+Model.m ...<br>

&nbsp;Compiling file PostgreSQL72Exception.m ...<br>

&nbsp;Compiling file PostgreSQL72Values.m ...<br>

&nbsp;Compiling file NSString+PostgreSQL72.m ...<br>

&nbsp;Compiling file EOAttribute+PostgreSQL72.m ...<br>

&nbsp;Compiling file NSString+PGVal.m ...<br>

&nbsp;Compiling file NSData+PGVal.m ...<br>

&nbsp;Compiling file NSCalendarDate+PGVal.m ...<br>

&nbsp;Compiling file NSNumber+PGVal.m ...<br>

&nbsp;Linking bundle PostgreSQL ...<br>

/usr/bin/ld: Undefined symbols:<br>

_SSL_pending<br>

_BIO_free<br>

_BIO_new_mem_buf<br>

_DH_check<br>

_DH_generate_parameters<br>

_DH_size<br>

_ERR_get_error<br>

_ERR_reason_error_string<br>

_EVP_PKEY_free<br>

_PEM_read_DHparams<br>

_PEM_read_PrivateKey<br>

_PEM_read_X509<br>

_PEM_read_bio_DHparams<br>

_SSL_CTX_ctrl<br>

_SSL_CTX_free<br>

_SSL_CTX_load_verify_locations<br>

_SSL_CTX_new<br>

_SSL_CTX_set_tmp_dh_callback<br>

_SSL_CTX_set_verify<br>

_SSL_CTX_set_verify_depth<br>

_SSL_connect<br>

_SSL_free<br>

_SSL_get_error<br>

_SSL_get_ex_data<br>

_SSL_get_peer_certificate<br>

_SSL_library_init<br>

_SSL_load_error_strings<br>

_SSL_new<br>

_SSL_read<br>

_SSL_set_ex_data<br>

_SSL_set_fd<br>

_SSL_shutdown<br>

_SSL_write<br>

_TLSv1_method<br>

_X509_NAME_get_text_by_NID<br>

_X509_NAME_oneline<br>

_X509_check_private_key<br>

_X509_free<br>

_X509_get_subject_name<br>

collect2: ld returned 1 exit status<br>

make[3]: *** [PostgreSQL.gdladaptor/Contents/MacOS/PostgreSQL] Error 1<br>

make[2]: *** [PostgreSQL.all.bundle.variables] Error 2<br>

make[1]: *** [internal-all] Error 2<br>

make: *** [internal-all] Error 2<br>
</blockquote>

<br>


------=_Part_3781_21382021.1132314772169--