From nobody Thu Jul 14 14:03:57 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LkGSX3nr4z1J6BY for ; Thu, 14 Jul 2022 14:04:12 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LkGSW2kqdz41yQ for ; Thu, 14 Jul 2022 14:04:11 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: by mail-io1-xd2e.google.com with SMTP id u20so1453791iob.8 for ; Thu, 14 Jul 2022 07:04:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=DCiAuT2KXvQBNY016OrYx9x/bH9tLhspqTFuBv99BIg=; b=Ya3ksnDPWsxACLVNQg/WF15jplALbMqY35wtcmrUYIYgeqYYkk4XAQ3st9aY8M54IL WaPp8yCvDgguqagtU4abcDVdM2HLgRIkPJnS6d4qoI34S3aix70kKWAC829iDfmUCxF+ lBt3jqBpap/j7V3HptsV69uV8/MRM5Eg2wI8151BtEZ3XJmMFPJ/N4omUTcxUyt3Nozt UyMPlkfqHRXvha7X5JYqliesVgihsHpKYUL/ixIe+kpsM/Aiq8jZRbpLXJorvfW7o5sJ p40eCWNl+9dE4UZKM+UsSxqaYAM4KBiio8LAIanNQ7g8EANtNWHjmcJHy/RUJxXm29x6 zxNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DCiAuT2KXvQBNY016OrYx9x/bH9tLhspqTFuBv99BIg=; b=g3rEUaoN57q51l4WfNTmVlm+OmOiQusWsPu1yRWK0oHOzP+Ndj1+VnBkb251MOxlsS UuiTGi5Qs9+yYN/J4/NUmwlm/0BHRpr2tXAtz7CzYhK0e4djmR7aagVOBa2zh3WTKalR ai0rt00ShsX1takMWxRli7mtDPhI/9dCOQLgHMi/AhHmDNO6kAWFfiJjDMhmRy+45D97 5AXs6LKvf3xzqLk/efzQsLIgVULVk5xpH0wnFf53UpqRCgYSA8e+kR38yHMRK7R0p5Df EqlTYvYp/DdeSSdunQQ9ES2/d1KmjIeKwCa9eZMoX0Sg5P1wpPXw3PTGTjvE3a0rP5E4 nVZA== X-Gm-Message-State: AJIora9EOWM2ckStJwNFnW9iMe/tdPZ4Ylj4PctENkVwoLChk9JZVVrp cCgzaGzX9PEFEHdiHsVijnAx7/Gdg9ByW5Cx/0ytgJ9Z+mg= X-Google-Smtp-Source: AGRyM1voaAZ+lSOieyog9mfcL1WIbQcGZTH3UIKUaUNVC4mdB6vrFwRSMeuYdvA7D5sA37R3PkYdBZEFRjxB1TgJtag= X-Received: by 2002:a05:6638:238f:b0:33f:774f:5252 with SMTP id q15-20020a056638238f00b0033f774f5252mr5000007jat.216.1657807450258; Thu, 14 Jul 2022 07:04:10 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Alberto Mijares Date: Thu, 14 Jul 2022 10:03:57 -0400 Message-ID: Subject: "Undefined symbol" running ruby script To: questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4LkGSW2kqdz41yQ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Ya3ksnDP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of amijaresp@gmail.com designates 2607:f8b0:4864:20::d2e as permitted sender) smtp.mailfrom=amijaresp@gmail.com X-Spamd-Result: default: False [-0.61 / 15.00]; NEURAL_SPAM_LONG(0.97)[0.971]; NEURAL_HAM_SHORT(-0.95)[-0.945]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_SPAM_MEDIUM(0.37)[0.366]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2e:from]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N Hello everyone, I need to run a ruby script on a legacy host: % freebsd-version -ku 12.1-RELEASE-p1 12.1-RELEASE-p1 % ruby -v ruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [amd64-freebsd12] However, when I run the script, I get the following error: ld-elf.so.1: /usr/local/lib/libruby27.so.27: Undefined symbol "pthread_setname_np@FBSD_1.6" Is there a workaround that doesn't include getting ports collection and compiling ruby or upgrading the system? Thanks for your help. Alberto Mijares