Displaying 20 results from an estimated 145 matches for "dlerror".
2007 Jul 20
2
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
Hi Reid,
> > if ((err = dlerror())) {
> > error("earlier undetected dlerror: %s\n", err);
> > }
> > p = dlsym(handle, sym);
> > if ((err = dlerror())) {
> > error("dlsym failed: %s\n", err);
> > }
>
> No, you're not missing anything...
2008 Mar 12
1
[LLVMdev] [PATCH] Get dlerror() messages
Hello,
Attached is a simple fix for getting error messages from dlerror in
LoadLibraryPermanently. The current code modifies the value of a pointer
that is passed by value, so the caller never gets the message.
Hope this helps,
Julien
--
Julien Lerouge
PGP Key Id: 0xB1964A62
PGP Fingerprint: 392D 4BAD DB8B CE7F 4E5F FA3C 62DB 4AA7 B196 4A62
PGP Public Key from: keys...
2007 Jul 20
4
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
...d lli
> aborts because it thinks dlsym returned failure.
>
> After consulting with our dynamic linker guru, I don't think there is
> a wonderful clean way to do this.
I could be missing something, but shouldn't the use of dlsym() be
char *err;
void *p;
if ((err = dlerror())) {
error("earlier undetected dlerror: %s\n", err);
}
p = dlsym(handle, sym);
if ((err = dlerror())) {
error("dlsym failed: %s\n", err);
}
return p;
The authors of dlsym() realised the return value was overloaded AFAICS.
Cheers,
Ralph.
2007 Jul 20
0
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
Hi Ralph,
On Fri, 2007-07-20 at 10:38 +0100, Ralph Corderoy wrote:
> Hi Chris,
> I could be missing something, but shouldn't the use of dlsym() be
>
> char *err;
> void *p;
>
> if ((err = dlerror())) {
> error("earlier undetected dlerror: %s\n", err);
> }
> p = dlsym(handle, sym);
> if ((err = dlerror())) {
> error("dlsym failed: %s\n", err);
> }
>
> return p;
>
> The authors of dlsym() realised the retu...
2007 Jul 20
0
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
Hi Ralph,
On Fri, 2007-07-20 at 12:22 +0100, Ralph Corderoy wrote:
> Hi Reid,
>
> > > if ((err = dlerror())) {
> > > error("earlier undetected dlerror: %s\n", err);
> > > }
> > > p = dlsym(handle, sym);
> > > if ((err = dlerror())) {
> > > error("dlsym failed: %s\n", err);
> > > }
> >
>...
2005 Sep 06
3
OpenSSH-4.2p1 with OpenSSL-0.98 (bug)
...`dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x95): In function `dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xbc): In function `dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x147): In function `dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x172): In function `dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto....
2020 Mar 23
0
[PATCH nbdkit 2/3] server: Inject API functions for Windows
...struct nbdkit_plugin *(*plugin_init) (void);
+ void *(*functions_init) (struct nbdkit_functions *);
char *error;
if (short_name) {
@@ -797,6 +845,18 @@ open_plugin_so (size_t i, const char *name, int short_name)
/* Initialize the plugin. See dlopen(3) to understand C weirdness. */
dlerror ();
+#ifdef WINDOWS_COMPAT
+ *(void **) (&functions_init) = dlsym (dl, "functions_init");
+ if ((error = dlerror ()) != NULL) {
+ fprintf (stderr, "%s: %s: %s\n", program_name, name, error);
+ exit (EXIT_FAILURE);
+ }
+ if (!functions_init) {
+ fprintf (stderr,...
2006 Mar 14
2
Problem compiling openssh-4.3p2 w/ openssl.0.9.8a on FC3
...n
`dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xa0): In function
`dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc9): In function
`dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x13e): In function
`dlfcn_unload':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x1f5): In function
`dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso...
2006 Sep 07
2
Plugins for Dovecot at FreeBSD 6.0
Hi
I met problem developing plug-in under FreeBSD 6.1.
First I tried to use internal plugins like quota and acl but I got:
IMAP(xxx): module /usr/local/lib/dovecot/imap/lib01_acl_plugin.so:
dlsym(acl_plugin_init) failed: Shared object "nss_dns.so.1" not found,
required by "imap"
This library doesn't exist on FreeBSD 6.1 Same story when u mention any
plugin in
2004 Aug 06
2
Vorbis stream on-line
Greetings:
Ouch, that's not good. I can tap into the stream just fine with 'xmms
http://64.108.112.135:8000/shouter.ogg' but not by clicking on the same
address as a link. More debugging ahead... ;)
Btw, I've restarted the stream.
Thanks for the report !
Best regards,
== Dave Phillips
The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm
2004 Aug 06
2
Vorbis stream on-line
Greetings:
Ouch, that's not good. I can tap into the stream just fine with 'xmms
http://64.108.112.135:8000/shouter.ogg' but not by clicking on the same
address as a link. More debugging ahead... ;)
Btw, I've restarted the stream.
Thanks for the report !
Best regards,
== Dave Phillips
The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm
2005 Sep 27
1
make fails with ssl 0.9.8
...ompat -lcrypto -lutil -lz -lnsl -lcrypt -
lresolv -lresolv
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2d4): In function
`dlfcn_bind_func':
dso_dlfcn.c: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x32c):dso_dlfcn.c:
undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3cc): In function
`dlfcn_bind_var':
dso_dlfcn.c: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x448):dso_dlfcn.c:
undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)...
2000 Mar 27
2
FreeBSD 3.1 & OpenSSH 1.2.3
...nly error I get is :
Permission denied, please try again.
Here is what the error spits into the logs:
Mar 27 14:32:15 tortoise sshd[66176]: adding faulty module:
/usr/lib/pam_unix.so
Mar 27 14:34:55 tortoise sshd[66380]: unable to
dlopen(/usr/lib/pam_unix.so)
Mar 27 14:34:55 tortoise sshd[66380]: [dlerror: /usr/lib/pam_unix.so:
Undefined
symbol "crypt"
I have included the 4 PAM entries that came from the
$SRCDIR/contrib/sshd.pam.freebsd into my pam.conf file.
Those lines are:
sshd auth required pam_unix.so
try_first_pass
sshd account required pam_unix.so
sshd pas...
2001 Feb 21
2
openssh-2.5.1p1 problem on redhat 6.2
...ine,
sshd gives error:
.....
Feb 20 17:54:24 foo PAM_pwdb[925]: (login) session opened for user doe by LOGIN(uid=0)
Feb 20 17:55:15 foo sshd[1342]: Connection closed by 192.168.0.3
Feb 20 17:55:43 foo sshd[1343]: PAM unable to dlopen(/lib/security/pam_stack.so)
Feb 20 17:55:43 foo sshd[1343]: PAM [dlerror: /lib/security/pam_stack.so: cannot open shared object file: No such file or directory]
Feb 20 17:55:43 foo sshd[1343]: PAM adding faulty module: /lib/security/pam_stack.so
Feb 20 17:55:46 foo sshd[1343]: Failed password for doe from 192.168.0.3 port 1121
Feb 20 17:56:01 foo sshd[1343]: Failed pass...
2007 Jun 23
1
OT: vmware server not accepting root password?
...ts:
[root at incognito log]# tail secure
Jun 22 23:48:26 incognito xinetd[4086]: START: vmware-authd pid=7377
from=10.51.51.6
Jun 22 23:48:26 incognito vmware-authd[7377]: PAM unable to
dlopen(/usr/lib/vmware/lib/libpam.so.0/security/pam_unix2.so)
Jun 22 23:48:26 incognito vmware-authd[7377]: PAM [dlerror:
/usr/lib/vmware/lib/libpam.so.0/security/pam_unix2.so: cannot open
shared object file: No such file or directory]
Jun 22 23:48:26 incognito vmware-authd[7377]: PAM adding faulty
module: /usr/lib/vmware/lib/libpam.so.0/security/pam_unix2.so
Jun 22 23:48:26 incognito vmware-authd[7377]: PAM unable t...
2007 Jul 19
0
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
On Thu, 19 Jul 2007, Andy Kitchen wrote:
> Hi there, I'm trying to run trivial Objective-C code that uses the
> Foundation framework under MacOS X in lli. It seems that the code will
> compile and run using llc, however fails to work in lli.
Nice! this is a great project, unfortunately, there are some issues here
:)
I'm CC'ing Marcel, as he has some experience with
2007 Oct 23
4
dovecot-auth: Too many open files
...f:<internal_IP>]
Oct 16 11:48:11 host dovecot-auth: PAM: pipe() failed: Too many open
files
Oct 16 04:48:11 host imap-login: Aborted login [::ffff:<internal_IP>]
Oct 16 04:48:11 host dovecot-auth: PAM unable to
dlopen(/lib/security/pam_nologin.so)
Oct 16 04:48:11 host dovecot-auth: PAM [dlerror:
/lib/security/pam_nologin.so: cannot open shared object file: Too many
open files]
Oct 16 04:48:11 host dovecot-auth: PAM adding faulty module:
/lib/security/pam_nologin.so
Oct 16 04:48:11 host dovecot-auth: PAM unable to
dlopen(/lib/security/pam_stack.so)
Oct 16 04:48:11 host dovecot-auth: PAM [d...
2007 Jul 19
2
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
Hi there, I'm trying to run trivial Objective-C code that uses the
Foundation framework under MacOS X in lli. It seems that the code will
compile and
run using llc, however fails to work in lli.
SimpleFoundation.m:
----
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
// insert code
2011 Aug 28
3
[Bug 741] New: ULOGD segfaults on init
http://bugzilla.netfilter.org/show_bug.cgi?id=741
Summary: ULOGD segfaults on init
Product: ulogd
Version: SVN (please provide timestamp)
Platform: i386
OS/Version: other
Status: NEW
Severity: blocker
Priority: P5
Component: ulogd_MYSQL
AssignedTo: netfilter-buglog at lists.netfilter.org
2006 Jul 19
1
maybe bug don't allow compile
I'm using mandrake linux 10.0 I compile myself zlib 1.2.3 (sucess), openssl 0.9.8b (sucess), then openssh-4.3p2 (fail) with error like "undefined reference to 'dlerror'" make: *** [ssh] Error 1.
I think problem for me was no libdl included in LIBS in top Makefile, so I manually add -ldl to LIBS variable and compile works.
If this is bug in ./configure please fix, if I did something wrong in compile, please tell me.
Cheers!
Yusef