[pubcookie-users] installing pubcookie Mac 10.6 Snow Leopard
Jim Fox
fox at washington.edu
Wed Aug 10 13:46:44 PDT 2011
I'm guessing. Don't have a mac system available.
ERR_error_string may have been dropped by Mac due to it's
thread unsafe nature. It might be replaced by ERR_error_string_n.
I'll note that apache seems to use the '_n' version.
You might try switching to it. Note the additional arg.
Jim
On Wed, 10 Aug 2011, Gordon Belray wrote:
> Date: Wed, 10 Aug 2011 12:06:28 -0700
> From: Gordon Belray <gordon.belray at utoronto.ca>
> To: Jim Fox <fox at washington.edu>
> Cc: pubcookie-users at u.washington.edu
> Subject: Re: [pubcookie-users] installing pubcookie Mac 10.6 Snow Leopard
>
> Hi Jim,
>
> we tried commenting out those functions in src/security_legacy.c
>
> and now Apache is complaining about _ERR_error_string
>
> httpd: Syntax error on line 124 of /private/etc/apache2/httpd.conf: Cannot
> load /usr/libexec/apache2/mod_pubcookie.so into server:
> dlopen(/usr/libexec/apache2/mod_pubcookie.so, 10): Symbol not found:
> _ERR_error_string\n Referenced from: /usr/libexec/apache2/mod_pubcookie.so\n
> Expected in: flat namespace\n in /usr/libexec/apache2/mod_pubcookie.so
>
> Thanks,
> Gordon
>
> On 10-Aug-11, at 1:25 PM, Jim Fox wrote:
>
>>
>> Some operating systems are dropping support for DES encryption. Mac 10.6
>> seems to be one of them. AES has been the default for some time in
>> pubcookie. You could just comment out the contents of the DES functions,
>> libpbc_mk_priv_des and libpbc_rd_priv_des, and not use them.
>>
>> Jim
>>
>>
>> On Wed, 10 Aug 2011, Gordon Belray wrote:
>>
>>> Date: Wed, 10 Aug 2011 10:02:48 -0700
>>> From: Gordon Belray <gordon.belray at utoronto.ca>
>>> To: pubcookie-users at u.washington.edu
>>> Subject: [pubcookie-users] installing pubcookie Mac 10.6 Snow Leopard
>>> Hi,
>>> We're unable to build pubcookie on a Mac server 10.6
>>> Configuring fails using the following:
>>> ./configure CFLAGS='-arch ppc -arch ppc64 -arch i386 -arch x86_64'
>>> configure: Configuring for Pubcookie 3.3.4a
>>> checking if I should build the apache module... yes
>>> checking if I should build the login cgi... no
>>> checking for gcc... gcc
>>> checking for C compiler default output... configure: error: C compiler
>>> cannot create executables
>>> See `config.log' for more details.
>>> And in the config.log
>>> uname -m = x86_64
>>> uname -r = 10.8.0
>>> uname -s = Darwin
>>> uname -v = Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011;
>>> root:xnu-1504.15.3~1/RELEASE_X86_64
>>> /usr/bin/uname -p = i386
>>> /bin/uname -X = unknown
>>> /bin/arch = unknown
>>> /usr/bin/arch -k = unknown
>>> /usr/convex/getsysinfo = unknown
>>> hostinfo = Mach kernel version:
>>> Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011;
>>> root:xnu-1504.15.3~1/RELEASE_X86_64
>>> Kernel configured for up to 16 processors.
>>> 8 processors are physically available.
>>> 16 processors are logically available.
>>> Processor type: i486 (Intel 80486)
>>> Processors active: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
>>> Primary memory available: 12.00 gigabytes
>>> Default processor set: 134 tasks, 593 threads, 16 processors
>>> Load average: 0.20, Mach factor: 15.79
>>> /bin/machine = unknown
>>> /usr/bin/oslevel = unknown
>>> /bin/universe = unknown
>>> PATH: /usr/bin
>>> PATH: /bin
>>> PATH: /usr/sbin
>>> PATH: /sbin
>>> PATH: /usr/local/bin
>>> PATH: /usr/X11/bin
>>> PATH: /opt/local/bin
>>> PATH: /opt/local/sbin
>>> ## ----------- ##
>>> ## Core tests. ##
>>> ## ----------- ##
>>> configure:1358: Configuring for Pubcookie 3.3.4a
>>> configure:1367: checking if I should build the apache module
>>> configure:1374: result: yes
>>> configure:1400: checking if I should build the login cgi
>>> configure:1416: result: no
>>> configure:1480: checking for gcc
>>> configure:1496: found /usr/bin/gcc
>>> configure:1506: result: gcc
>>> configure:1750: checking for C compiler version
>>> configure:1753: gcc --version </dev/null >&5
>>> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
>>> Copyright (C) 2007 Free Software Foundation, Inc.
>>> This is free software; see the source for copying conditions. There is NO
>>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>>> PURPOSE.
>>> configure:1756: $? = 0
>>> configure:1758: gcc -v </dev/null >&5
>>> Using built-in specs.
>>> Target: i686-apple-darwin10
>>> Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure
>>> --disable-checking --enable-werror --prefix=/usr --mandir=/share/man
>>> --enable-languages=c,objc,c++,obj-c++
>>> --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
>>> --build=i686-apple-darwin10
>>> --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10
>>> --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
>>> Thread model: posix
>>> gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
>>> configure:1761: $? = 0
>>> configure:1763: gcc -V </dev/null >&5
>>> gcc-4.2: argument to `-V' is missing
>>> configure:1766: $? = 1
>>> configure:1790: checking for C compiler default output
>>> configure:1793: gcc -arch ppc -arch ppc64 -arch i386 -arch x86_6
>>> conftest.c >&5
>>> ld: warning: in /usr/lib/crt1.10.5.o, missing required architecture ppc64
>>> in file
>>> ld: warning: in /usr/lib/libSystemStubs.a, missing required architecture
>>> ppc64 in file
>>> ld: warning: in /usr/lib/libSystem.dylib, missing required architecture
>>> ppc64 in file
>>> ld: could not find entry point "start" (perhaps missing crt1.o) for
>>> architecture ppc64
>>> collect2: ld returned 1 exit status
>>> gcc-4.2: Invalid arch name : x86_6
>>> configure:1796: $? = 1
>>> configure: failed program was:
>>> | #line 1769 "configure"
>>> | /* confdefs.h. */
>>> |
>>> | #define PACKAGE_NAME "Pubcookie"
>>> | #define PACKAGE_TARNAME "pubcookie"
>>> | #define PACKAGE_VERSION "3.3.4a"
>>> | #define PACKAGE_STRING "Pubcookie 3.3.4a"
>>> | #define PACKAGE_BUGREPORT "pubcookie-dev at u.washington.edu"
>>> | /* end confdefs.h. */
>>> Pubcookie builds with the following:
>>> ./configure CFLAGS='-arch i386 -arch x86_64'
>>>
>>> but apachectl configtest complains:
>>> httpd: Syntax error on line 124 of /private/etc/apache2/httpd.conf: Cannot
>>> load /usr/libexec/apache2/mod_pubcookie.so into server:
>>> dlopen(/usr/libexec/apache2/mod_pubcookie.so, 10): Symbol not found:
>>> _DES_cfb64_encrypt\n Referenced from:
>>> /usr/libexec/apache2/mod_pubcookie.so\n Expected in: flat namespace\n in
>>> /usr/libexec/apache2/mod_pubcookie.so
>>> Any help would be appreciated.
>>> Thanks,
>>> Gordon
>>> Gordon Belray
>>> Systems and Interface Designer
>>> Information Technology Services
>>> University of Toronto Libraries
>>> gordon.belray at utoronto.ca
>>> 416-946-8617 w
>>> 416-427-7007 m
>> _______________________________________________
>> pubcookie-users mailing list
>> pubcookie-users at u.washington.edu
>> http://mailman2.u.washington.edu/mailman/listinfo/pubcookie-users
>
> Gordon Belray
> Systems and Interface Designer
> Information Technology Services
> University of Toronto Libraries
> gordon.belray at utoronto.ca
> 416-946-8617 w
> 416-427-7007 m
>
>
>
>
More information about the pubcookie-users
mailing list