ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

p7zip command 7z not running libstdc++.so.6

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • p7zip command 7z not running libstdc++.so.6

    Am working on installing p7zip in my V7R1 IBM i. Appears to be libstdc++.a not loaded properly due to which am getting the below error. Kindly someone assist me on this.

    > 7za a /tmp/archive.zip /tmp/*.xls
    exec(): 0509-036 Cannot load program /var/opt/p7zip/lib/p7zip/7za because of the following errors:
    0509-150 Dependent module /var/opt/p7zip/lib/libstdc++.a(libstdc++.so.6) could not be loaded.
    0509-153 File /var/opt/p7zip/lib/libstdc++.a is not an archive or
    the file could not be read properly.
    0509-026 System error: There is an input or output error.
    $
    > 7z a /tmp/archive.zip /tmp/*.xls
    exec(): 0509-036 Cannot load program /var/opt/p7zip/lib/p7zip/7z because of the following errors:
    0509-150 Dependent module /var/opt/p7zip/lib/libstdc++.a(libstdc++.so.6) could not be loaded.
    0509-153 File /var/opt/p7zip/lib/libstdc++.a is not an archive or
    the file could not be read properly.
    0509-026 System error: There is an input or output error.

  • #2
    If you got it from my site, that file (libstdc++) is included in the download. It sounds like it is damaged or something... could it be that you had a bad download? Or maybe you transferred it to the system in a non-binary safe way?

    Comment

    Working...
    X