Re: archive has no index?

From: R. Drew Davis (
Date: Mon Jan 21 2002 - 16:55:44 PST

  • Next message: Justin M. Streiner: "Re: archive has no index?"

    > Date: Mon, 21 Jan 2002 15:29:32 -0500 (EST)
    > From: "Justin M. Streiner" <>
    > To:
    > Subject: archive has no index?
    >I'm having some trouble getting cflowd to link on a FreeBSD 4.4 box.
    >Everything at least up to this point appears to compile and link properly.
    >When making cflowdmux, I get the following error:
    >cd cflowdmux; make
    >c++ -g -O2 CflowdRawFlowClientList.o cflowdmux.o
    >../../classes/lib/.libs/libCfd.a -L/usr/local/arts/lib -lArts
    >../../snmp++/classes/lib/.libs/libsnmp++.a -lfl -lcompat -o cflowdmux
    >-Wl,--rpath -Wl,/usr/local/arts/lib -Wl,--rpath -Wl,/usr/local/arts/lib
    >../../snmp++/classes/lib/.libs/libsnmp++.a: could not read symbols:
    >Archive has no index; run ranlib to add one
    >*** Error code 1
    >Stop in /usr/local/src/cflowd-2-1-b1/apps/cflowdmux.
    >*** Error code 1
    >Stop in /usr/local/src/cflowd-2-1-b1/apps.
    >*** Error code 1
    >Stop in /usr/local/src/cflowd-2-1-b1.
    >libsnmp++.a exists at the specified location relative to the build
    >directory with the correct permissions.
    >I ran ranlib on libsnmp++.a, and re-ran the build with the same results.
    >Any ideas on where I should start to look for the problem? Any
    >help/insight is appreciated.
    >cflowd mailing list

    I'm wondering if your PATH is such that you are running some other ranlib
    instead of the gnu ranlib. e.g. on my Solaris system:

    jessie $ /opt/gnu/bin/ranlib -v
    GNU ranlib 2.10.1
    Copyright 1997, 98, 99, 2000 Free Software Foundation, Inc.
    This program is free software; you may redistribute it under the terms of
    the GNU General Public License. This program has absolutely no warranty.
    jessie $ ranlib -v
    jessie $ whence ranlib

    But I have not FreeBSD box here for comparison.


    R. Drew Davis, Room MH 2C-302A E-mail:
    Bell Laboratories Voice: 908-582-7280
    600 Mountain Ave. Fax: 908-582-3340
    Murray Hill, NJ 07974

    Bell Laboratories: The Research & Development Unit of Lucent Technologies.

    cflowd mailing list

    This archive was generated by hypermail 2.1.4 : Mon Jan 21 2002 - 17:11:47 PST