Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 206233 Details for
Bug 4411
sys-devel/gcc uses static libs in /usr/lib before it will use a dynamic lib in /lib
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Sample C file that breaks dlopen()
breakDlopen.c (text/plain), 425 bytes, created by
Ivan
on 2009-10-06 10:23:40 UTC
(
hide
)
Description:
Sample C file that breaks dlopen()
Filename:
MIME Type:
Creator:
Ivan
Created:
2009-10-06 10:23:40 UTC
Size:
425 bytes
patch
obsolete
>/* Based off the example in "man dlopen". */ > >#include <stdio.h> >#include <stdlib.h> >#include <dlfcn.h> > >int >main(int argc, char **argv) >{ > void *handle; > > /* If "libpcre.so.0" is used, then this works. */ > handle = dlopen("libpcre.so", RTLD_LAZY); > if (!handle) { > fprintf(stderr, "%s\n", dlerror()); > exit(EXIT_FAILURE); > } > > printf("Must have linked properly...\n"); > dlclose(handle); > exit(EXIT_SUCCESS); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 4411
:
1909
| 206233