Re: xsane default sizes

Oliver Rauch (oliver.rauch@Wolfsburg.DE)
Mon, 03 May 1999 17:51:45 +0200

--------------636B2B91D17EB4613B3F5F1F
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Bob van der Poel wrote:

> I don't know if you are saying that this *should* happen, or if it
> *does*. I do know that I had to add modify my ld.so.conf as per the
> instructions in the install docs. I'm running linux 2.0.36.
>
> Checking the makefile generated with configure I see that libtool is
> being used, but I don't understand what, exactly, it does.
>

In the moment the sane libraries are linked with a wrong option.All libraries
should say that their name is "libsane.so.*",
this can be done by a special linker option.
If this is done everything works fine, but in the moment
the library name is set to the backend-library name: libsane-backend.so.*

The linker option is:

-soname name
When creating an ELF shared object, set the inter­
nal DT_SONAME field to the specified name. When an
executable is linked with a shared object which has
a DT_SONAME field, then when the executable is run
the dynamic linker will attempt to load the shared
object specified by the DT_SONAME field rather than
the using the file name given to the linker.

I don`t know how to change this because it has be passed through libtool,
may be somone knows this or does find it out!

Bye
Oliver

--
EMAIL: Oliver.Rauch@Wolfsburg.DE
WWW: http://www.wolfsburg.de/~rauch

--------------636B2B91D17EB4613B3F5F1F Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

Bob van der Poel wrote:

I don't know if you are saying that this *should* happen, or if it
*does*. I do know that I had to add modify my ld.so.conf as per the
instructions in the install docs. I'm running linux 2.0.36.

Checking the makefile generated with configure I see that libtool is
being used, but I don't understand what, exactly, it does.
 

In the moment the sane libraries are linked with a wrong option.All libraries should say that their name is "libsane.so.*",
this can be done by a special linker option.
If this is done everything works fine, but in the moment
the library name is set to the backend-library name: libsane-backend.so.*

The linker option is:

       -soname name
              When creating an ELF shared object, set the  inter­
              nal DT_SONAME field to the specified name.  When an
              executable is linked with a shared object which has
              a  DT_SONAME field, then when the executable is run
              the dynamic linker will attempt to load the  shared
              object specified by the DT_SONAME field rather than
              the using the file name given to the linker.
 

I don`t know how to change this because it has be passed through libtool,
may be somone knows this or does find it out!

Bye
Oliver
 

-- 
EMAIL: Oliver.Rauch@Wolfsburg.DE
WWW: http://www.wolfsburg.de/~rauch
  --------------636B2B91D17EB4613B3F5F1F-- -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com