Macrolide lactones, the so called cucujolides derived from unsaturated fatty acids, are aggregation pheromones of cucujid grain beetles. Thirty years ago, Oehlschlarger et al. showed that (3Z,6Z)-dodeca-3,6-dien-11-olide (4) and the respective 12-olide (7) attract the sawtoothed grain beetle Oryzaephilus surinamensis, whereas (5Z,8Z,13R)-tetradeca-5,8-dien-13-olide (5) increases the response synergistically. The frass of this beetle is attractive for its parasitoid Cephalonomia tarsalis, which potentially can be used for pest control. A GC/MS analysis of attractive frass showed the presence of 5, together with an unknown isomer. Cucujolide V was tentatively identified also in the femoral glands, pheromone-releasing structures, of the Madagascan mantelline frog Spinomantis aglavei. Therefore, a new route to synthesize doubly unsaturated macrolides allowing the flexible attachment of the side chain was developed. A straightforward method to obtain Z configured macrolides involves ring-closing alkyne metathesis (RCAM) followed by Lindlar-catalyzed hydrogenation. This methodology was extended to homoconjugated diene macrolides by using RCAM after introduction of one Z configured double bond in the precursor by Wittig reaction. A tungsten benzylidyne complex was used as the catalyst in the RCAM reaction, which afforded the products in high yield at room temperature. With the synthetic material at hand, the unknown isomer was identified as the new natural product (5Z,8Z,12R)-tetradeca-5,8-dien-12-olide, cucujolide X (8). Furthermore, the route also allowed the synthesis of cucujolide V in good yield. The natural products were identified by the synthesis of enantiomerically pure or enriched material and gas chromatography on chiral phases. The new macrolide (R)-8 proved to be biologically active, attracting female O. surinamensis, but no males. The synthetic material allowed the identification of (R)-5 in both the beetle and the frog.