Thank you for the reply Chris.

I have been up to my behind in alligators so haven't had a chance to download and compile libtar but I did madage to run the objdump. When I ran it with the grep I get nada; with out it I get:

ecommerce:~ # objdump -T /usr/lib/libtar.so.1

/usr/lib/libtar.so.1:     file format elf32-i386

DYNAMIC SYMBOL TABLE:
00000bb0 l    d  .init  00000000              .init
00000de0 l    d  .text  00000000              .text
000021b4 l    d  .fini  00000000              .fini
000021d0 l    d  .rodata        00000000              .rodata
00002200 l    d  .eh_frame      00000000              .eh_frame
00003eb0 l    d  .ctors 00000000              .ctors
00003eb8 l    d  .dtors 00000000              .dtors
00003ec0 l    d  .jcr   00000000              .jcr
00004080 l    d  .data  00000000              .data
00004114 l    d  .bss   00000000              .bss
00000000      DF *UND*  00000042              g_free
00000000      DF *UND*  00000047              gnome_vfs_read
00000000      DF *UND*  00000069              g_hash_table_destroy
00000000      DF *UND*  0000003d              g_str_hash
00000000      DF *UND*  0000012b              g_path_get_basename
00000000  w   D  *UND*  00000000              __gmon_start__
00000000  w   D  *UND*  00000000              _Jv_RegisterClasses
00000000      DF *UND*  0000005d              g_strdup
000021b4 g    DF .fini  00000000  Base        _fini
00000000      DF *UND*  000000de              g_node_insert_before
00000000      DF *UND*  0000014a              g_hash_table_insert
00000000      DF *UND*  000000a8              g_strconcat
00000000      DF *UND*  00000039              g_array_new
00000000      DF *UND*  00000068              gnome_vfs_uri_is_local
00000000      DF *UND*  00000084              g_array_free
00000000      DF *UND*  00000129              g_hash_table_remove
00000000      DF *UND*  00000059              g_strndup
00000000 DF *UND* 0000005f gnome_vfs_get_mime_type_for_data
00000000      DF *UND*  0000002b              gnome_vfs_close
00000000      DF *UND*  0000010a              gnome_vfs_uri_unref
00000000      DF *UND*  000000ae              g_static_mutex_get_mutex_impl
00000000      DF *UND*  0000003a              g_hash_table_new
00000000 DO *UND* 00000054 g_thread_functions_for_glib_use
00000000      DF *UND*  00000071  GLIBC_2.0   memcpy
00000000      DF *UND*  000000bb  GLIBC_2.0   strlen
00000000      DF *UND*  00000039              gnome_vfs_open_uri
00001070 g    DF .text  000000ee  Base        vfs_module_init
00000000      DO *UND*  00000004              g_threads_got_initialized
00004114 g    D  *ABS*  00000000  Base        __bss_start
00000000      DF *UND*  00000019              gnome_vfs_get_file_mime_type
00000000      DF *UND*  000000be              g_hash_table_lookup
00000000      DF *UND*  00000092              g_malloc0
00004138 g    D  *ABS*  00000000  Base        _end
00000000      DF *UND*  00000029              g_node_new
00000000      DO *UND*  00000004              g_thread_use_default_impl
00004114 g    D  *ABS*  00000000  Base        _edata
00000f90 g    DF .text  000000d9  Base        vfs_module_shutdown
00000000      DF *UND*  00000054  GLIBC_2.0   strcmp
00000000  w   DF *UND*  000000ec  GLIBC_2.1.3 __cxa_finalize
00000000      DF *UND*  0000007e              g_node_destroy
00000000      DF *UND*  00000083              g_array_append_vals
00000000      DF *UND*  00000032              g_str_equal
00000000      DF *UND*  0000003b              gnome_vfs_uri_new
00000bb0 g    DF .init  00000000  Base        _init
00000000      DF *UND*  00000405              gnome_vfs_uri_to_string

As you can see it's just not there. Obviously the gnome version is slightly 'retarded'.

I'll keep you informed.

Cheers.


Chris Frey wrote:
On Thu, Jan 24, 2008 at 01:07:45PM -0500, Frank Bernhardt wrote:
Barrybackup threw a libtar.so.1 is missing error. Well I had installed
libtar however I couldn't find libtar.so.1. After doing some googling
(where would the world be without google?) I saw that libtar.so is part
of gnome-vfs and sure enough when I check my installation I see that
gnome-vfs-2.0 is installed in

/opt/gnome/lib/gnome-vfs-2.0/modules/libtar.so

So, to get barrybackup to see the .so I did:

ln -s /opt/gnome/lib/gnome-vfs-2.0/modules/libtar.so \
               /usr/lib/libtar.so.1

The program now runs but when I select backup it throws a

undefined symbol tar_open     error.

I'm not exactly sure how you manage to get the program to run, if tar_open
is not defined.  Perhaps gnome-vfs's libtar.so is just a plugin, and not
the actual library?

Out of curiosity, try:

        objdump -T /usr/lib/libtar.so.1 |grep tar_open

And see what you get.

When I compiled Barry for opensuse 10.2, I used the Fedora 8 src rpm
of libtar.  It's too bad libtar is not more standard in the RPM based distros.

You can get the source rpm for libtar here:

ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/8/Everything/source/SRPMS/libtar-1.2.11-9.fc8.src.rpm

Then:

        rpm -i libtar-1.2.11-9.fc8.src.rpm
        (become root)
        cd /usr/src/packages/SPECS
        rpmbuild -ba libtar.spec
        rpm -i ../RPMS/*/libtar*rpm


Is this due to a version problem? Do I need to move to Open SuSE 10.3
(that will be hard to do) or can I upgrade a module from somewhere (from
where, I have no idea, yast says my kit is up to date). Is there
somewhere I can get a libtar.so.1 for 10.2 that works?

You shouldn't have to upgrade to OpenSUSE 10.3... just build a custom
libtar rpm for yourself.


Also, is there some way to run barrybackup as a regular user rather than
as root? I seem to recall reading somewhere that this was possible under
Red Hat but I don't know why only Red Hat.

It's not just for RedHat.  I've heard that some folks have gotten it
to work in Suse too.  Make sure you have ConsoleKit installed, as that
should handle the permissions of your usb devices, based on who is
logged in.

- Chris


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to