[Modules] Cannot load .../mod_gnutls.so: Undefined symbol "gnutls_malloc"

David Stanford dthomas53 at gmail.com
Thu Aug 7 01:27:15 EDT 2008


This got it. Thanks guys. :)

-David

On Wed, Aug 6, 2008 at 8:31 PM, Edward Rudd <urkle at outoforder.cc> wrote:

> You may need to put a LoadFile line above the LoadModule line.
>
> The syntax is.
> LoadFile /path/to/libgnutls.so
>
> Another option is to ensure the rpath is set to the path where the gnutls
> lib on the module ( chrpath on Linux )
>
> Sent from my iPhone
>
> On Aug 6, 2008, at 19:16, "David Stanford" <dthomas53 at gmail.com> wrote:
>
> It's the LoadModule line:
>
> LoadModule gnutls_module libexec/apache22/mod_gnutls.so
>
> Sorry, thought that would have been clear from the error. And I have
> confirmed this is the correct path to the module. Thanks!
>
> -David
>
> On Wed, Aug 6, 2008 at 4:10 PM, < <ray at cayuse.com>ray at cayuse.com> wrote:
>
>> and what does line 105 of your httpd.conf file read?
>>
>> > Not sure how active this list is but I thought I'd throw this out there
>> > before opening bug ticket.
>> >
>> > I'm using the basic SNI example (as provided on the docs page) using the
>> > following OS/software:
>> >
>> > FreeBSD 7.0-STABLE #0: Wed May 21 12:13:04 EDT 2008
>> > apache-2.2.9
>> > gnutls-2.4.1_1
>> >
>> > (I'm not using APR Memcache as it's listed as an 'optional' prereq)
>> >
>> > configure args and installation are also the basic:
>> >
>> > # ./configure --with-apxs=/usr/local/sbin/apxs
>> > --with-libgnutls=/usr/local/lib
>> > # make
>> > # make install
>> >
>> > When attempting to restart the server I get the following:
>> >
>> > ======
>> > # /usr/local/etc/rc.d/apache22 restart
>> > Performing sanity check on apache22 configuration:
>> > httpd: Syntax error on line 105 of /usr/local/etc/apache22/httpd.conf:
>> > Cannot load /usr/local/libexec/apache22/mod_gnutls.so into server:
>> > /usr/local/libexec/apache22/mod_gnutls.so: Undefined symbol
>> "gnutls_malloc"
>> > ======
>> >
>> > I'm not a programmer, but this comes across as a coding issue to me. Any
>> > ideas?
>> >
>> > Any other info needed can be provided. Thanks in advance!
>> >
>> > -David
>> > --
>> > [root at fbsd ~]# fortune
>> > Happiness is just an illusion, filled with sadness and confusion.
>> > _______________________________________________
>> > Modules mailing list
>> > <Modules at lists.outoforder.cc>Modules at lists.outoforder.cc
>> > <http://lists.outoforder.cc/mailman/listinfo/modules>
>> http://lists.outoforder.cc/mailman/listinfo/modules
>> >
>>
>>
>
>
> --
> [root at fbsd ~]# fortune
> Happiness is just an illusion, filled with sadness and confusion.
>
> _______________________________________________
> Modules mailing list
> Modules at lists.outoforder.cc
> http://lists.outoforder.cc/mailman/listinfo/modules
>
>


-- 
[root at fbsd ~]# fortune
Happiness is just an illusion, filled with sadness and confusion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.outoforder.cc/pipermail/modules/attachments/20080807/84acd8f0/attachment.html 


More information about the Modules mailing list