dlopen() fails in the filter

Justin Huang justin.huang at liteon.com
Wed May 20 03:29:53 PDT 2009


Thank you, now we have solved the problem. It caused by trying to load a damaged library.

Justin

>
> --Apple-Mail-4-307700583
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain;
> 	charset=us-ascii;
> 	format=flowed;
> 	delsp=yes
>
> On May 19, 2009, at 1:33 AM, Justin Huang wrote:
> >> Experts,
> >> We are developing a filter that requires to load some other dynamic
> >> libraies.
> >> We are using dlopen() to load the libraries. It returns fail at
> >> runtime.
> >> Is there any limitation  on using dlopen under CUPS architecture?
> >>
> >> p.s. The libraries are only for data processing, such as data
> >> compression. There is no user interaction in the library.
> >
> > In addition, we are developing the filter for Mac OS X.
>
>
> What is errno set to after the failed dlopen?
>
> Any messages in the error_log file? (use "cupsctl --debug-logging" to
> enable debug logging...)
>
> ________________________________________
> Michael R Sweet, Senior Printing System Engineer
>
>
> --Apple-Mail-4-307700583
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/html;
> 	charset=us-ascii
>
> <html><head></head><body style=3D"word-wrap: break-word; =
> -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
> "><div><div>On May 19, 2009, at 1:33 AM, Justin Huang =
> wrote:</div><blockquote type=3D"cite"><div><blockquote =
> type=3D"cite">Experts,<br></blockquote><blockquote type=3D"cite">We are =
> developing a filter that requires to load some other dynamic =
> libraies.<br></blockquote><blockquote type=3D"cite">We are using =
> dlopen() to load the libraries. It returns fail at =
> runtime.<br></blockquote><blockquote type=3D"cite">Is there any =
> limitation  on using dlopen under CUPS =
> architecture?<br></blockquote><blockquote =
> type=3D"cite"><br></blockquote><blockquote type=3D"cite">p.s. The =
> libraries are only for data processing, such as data compression. There =
> is no user interaction in the library.<br></blockquote><br>In addition, =
> we are developing the filter for Mac OS =
> X.<br></div></blockquote></div><div><br></div><div>What is errno set to =
> after the failed dlopen?</div><div><br></div><div>Any messages in the =
> error_log file? (use "cupsctl --debug-logging" to enable debug =
> logging...)</div><div><br></div><div>
> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: =
> normal; font-variant: normal; font-weight: normal; letter-spacing: =
> normal; line-height: normal; orphans: 2; text-align: auto; text-indent: =
> 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
> 0px; -webkit-border-horizontal-spacing: 0px; =
> -webkit-border-vertical-spacing: 0px; =
> -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
> auto; -webkit-text-stroke-width: 0px; "><span class=3D"Apple-style-span" =
> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
> Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
> font-weight: normal; letter-spacing: normal; line-height: normal; =
> orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
> widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
> -webkit-border-vertical-spacing: 0px; =
> -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
> auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
> break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
> after-white-space; =
> "><div><div>________________________________________</div><div>Michael R =
> Sweet, Senior Printing System Engineer</div></div></div></span></span>
> </div>
> <br></body></html>=
>
> --Apple-Mail-4-307700583--
>





More information about the cups mailing list